mirror of
				https://github.com/AbdBarho/stable-diffusion-webui-docker.git
				synced 2025-10-30 17:53:23 -04:00 
			
		
		
		
	Core: 64490d2df8b321d6562d3023210a30a2c5ad42b7 UI: e253a27a0fd5f252e9acb9b0003f7e3570ab7162
		
			
				
	
	
		
			15 lines
		
	
	
		
			459 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			459 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)\
 | |
|   .replace('img2img_cfg = gr.Slider(minimum=1.0, maximum=30.0', 'img2img_cfg = gr.Slider(minimum=1.0, maximum=60.0')
 | |
| 
 | |
| ) |