mirror of
https://github.com/AbdBarho/stable-diffusion-webui-docker.git
synced 2026-02-04 22:54:19 +01:00
24 lines
490 B
Bash
Executable file
24 lines
490 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
|
|
|
|
|
|
cat <<EOF
|
|
Downloads complete.
|
|
EOF
|