mirror of
				https://github.com/AbdBarho/stable-diffusion-webui-docker.git
				synced 2025-10-31 02:03:32 -04:00 
			
		
		
		
	Rename the UIs in docker compose to their new names Changes folder names Changes output folder structure Closes issue #263 Adds `sygil-sl` instead of docker compose flag.
		
			
				
	
	
		
			14 lines
		
	
	
		
			341 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			341 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| import sys
 | |
| from pathlib import Path
 | |
| 
 | |
| file = Path(sys.argv[1])
 | |
| file.write_text(
 | |
|   file.read_text()\
 | |
|   .replace('<p>For help and advanced usage guides,', """
 | |
|   <p>
 | |
|     Created using <a href="https://github.com/AbdBarho/stable-diffusion-webui-docker">stable-diffusion-webui-docker</a>.
 | |
|   </p>
 | |
|   <p>For help and advanced usage guides,
 | |
| """, 1)
 | |
| )
 |