mirror of
https://github.com/AbdBarho/stable-diffusion-webui-docker.git
synced 2026-04-09 08:24:08 +00:00
lstein
This commit is contained in:
parent
af6040de39
commit
6c3a7b6b81
2 changed files with 12 additions and 7 deletions
|
|
@ -15,12 +15,16 @@ if test -f /cache/models/GFPGANv1.3.pth; then
|
|||
fi
|
||||
|
||||
# facexlib
|
||||
FACEX_WEIGHTS=/opt/conda/lib/python3.8/site-packages/facexlib/weights
|
||||
FACEX_WEIGHTS=/opt/conda/lib/python3.9/site-packages/facexlib/weights
|
||||
|
||||
rm -rf "${FACEX_WEIGHTS}"
|
||||
mkdir -p /cache/weights
|
||||
ln -sf -T /cache/weights "${FACEX_WEIGHTS}"
|
||||
|
||||
REALESRGAN_WEIGHTS=/opt/conda/lib/python3.9/site-packages/realesrgan/weights
|
||||
rm -rf "${REALESRGAN_WEIGHTS}"
|
||||
ln -sf -T /cache/weights "${REALESRGAN_WEIGHTS}"
|
||||
|
||||
if "${PRELOAD}" == "true"; then
|
||||
python3 -u scripts/preload_models.py
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue