mirror of
				https://github.com/AbdBarho/stable-diffusion-webui-docker.git
				synced 2025-11-04 03:03:14 -05:00 
			
		
		
		
	
		
			
	
	
		
			11 lines
		
	
	
		
			275 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
		
		
			
		
	
	
			11 lines
		
	
	
		
			275 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| 
								 | 
							
								#!/bin/bash
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								set -Eeuo pipefail
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								echo "USE_STREAMLIT = ${USE_STREAMLIT}"
							 | 
						||
| 
								 | 
							
								if [ "${USE_STREAMLIT}" == "1" ]; then
							 | 
						||
| 
								 | 
							
								  python -u -m streamlit run scripts/webui_streamlit.py
							 | 
						||
| 
								 | 
							
								else
							 | 
						||
| 
								 | 
							
								  python3 -u scripts/webui.py --outdir /output --ckpt /data/StableDiffusion/model.ckpt ${CLI_ARGS}
							 | 
						||
| 
								 | 
							
								fi
							 |