mirror of
				https://github.com/AbdBarho/stable-diffusion-webui-docker.git
				synced 2025-11-03 18:53:14 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			32 lines
		
	
	
		
			973 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			973 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/usr/bin/env bash
 | 
						|
 | 
						|
set -Eeuo pipefail
 | 
						|
 | 
						|
# TODO: maybe just use the .gitignore file to create all of these
 | 
						|
mkdir -vp /data/.cache \
 | 
						|
  /data/embeddings \
 | 
						|
  /data/config/ \
 | 
						|
  /data/models/ \
 | 
						|
  /data/models/Stable-diffusion \
 | 
						|
  /data/models/GFPGAN \
 | 
						|
  /data/models/RealESRGAN \
 | 
						|
  /data/models/LDSR \
 | 
						|
  /data/models/VAE
 | 
						|
 | 
						|
echo "Downloading, this might take a while..."
 | 
						|
 | 
						|
aria2c -x 10 --disable-ipv6 --input-file /docker/links.txt --dir /data/models --continue
 | 
						|
 | 
						|
echo "Checking SHAs..."
 | 
						|
 | 
						|
parallel --will-cite -a /docker/checksums.sha256 "echo -n {} | sha256sum -c"
 | 
						|
 | 
						|
cat <<EOF
 | 
						|
By using this software, you agree to the following licenses:
 | 
						|
https://github.com/AbdBarho/stable-diffusion-webui-docker/blob/master/LICENSE
 | 
						|
https://github.com/CompVis/stable-diffusion/blob/main/LICENSE
 | 
						|
https://github.com/AUTOMATIC1111/stable-diffusion-webui/blob/master/LICENSE.txt
 | 
						|
https://github.com/invoke-ai/InvokeAI/blob/main/LICENSE
 | 
						|
And licenses of all UIs, third party libraries, and extensions.
 | 
						|
EOF
 |