mirror of
https://github.com/AbdBarho/stable-diffusion-webui-docker.git
synced 2024-11-22 06:04:16 +03:00
Fix *upscale_models* path for USE_KRITA=true
This commit is contained in:
parent
0f3187505b
commit
ee10e058cc
@ -27,7 +27,11 @@ done
|
||||
if [ "${USE_KRITA}" = "true" ]; then
|
||||
if [ "${KRITA_DOWNLOAD_MODELS:-false}" = "true" ]; then
|
||||
cd "${ROOT}/krita-ai-diffusion/scripts" && python scripts/download_models.py --recommended /data && cd ..
|
||||
cd "${ROOT}/models/" mv -v upscale_models upscale_models.stock && ln -sT /data/models/upscale_models upscale_models
|
||||
fi
|
||||
[ -d "${ROOT}/models/upscale_models" ] && mv -v "${ROOT}/models/upscale_models" "${ROOT}/models/upscale_models.stock"
|
||||
if [ ! -L "${ROOT}/models/upscale_models" ]; then
|
||||
cd "${ROOT}/models"
|
||||
ln -sfT /data/models/upscale_models upscale_models
|
||||
fi
|
||||
export USE_CNAUX="true" USE_IPAPLUS="true" USE_INPAINT="true"; USE_TOOLING="true"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user