diff --git a/scripts/on_sd_start.bat b/scripts/on_sd_start.bat index 4481c384..7a9507f2 100644 --- a/scripts/on_sd_start.bat +++ b/scripts/on_sd_start.bat @@ -165,6 +165,9 @@ call WHERE uvicorn > .tmp +if not exist "..\models\stable-diffusion" mkdir "..\models\stable-diffusion" +echo. > "..\models\stable-diffusion\Put your custom ckpt files here.txt" + @if exist "sd-v1-4.ckpt" ( for %%I in ("sd-v1-4.ckpt") do if "%%~zI" EQU "4265380512" ( echo "Data files (weights) necessary for Stable Diffusion were already downloaded. Using the HuggingFace 4 GB Model." diff --git a/scripts/on_sd_start.sh b/scripts/on_sd_start.sh index e9bc5980..aefdb8a2 100755 --- a/scripts/on_sd_start.sh +++ b/scripts/on_sd_start.sh @@ -161,6 +161,9 @@ fi +mkdir -p "../models/stable-diffusion" +echo "" > "../models/stable-diffusion/Put your custom ckpt files here.txt" + if [ -f "sd-v1-4.ckpt" ]; then model_size=`find "sd-v1-4.ckpt" -printf "%s"` diff --git a/ui/index.html b/ui/index.html index f490cd98..9d681e97 100644 --- a/ui/index.html +++ b/ui/index.html @@ -4,7 +4,7 @@ - + @@ -15,7 +15,7 @@
- +