Create the custom model instruction file even on existing installations

This commit is contained in:
cmdr2 2022-10-07 19:36:18 +05:30
parent 8c576ece28
commit d70ea854b1

View File

@ -165,10 +165,8 @@ call WHERE uvicorn > .tmp
if not exist "..\models\stable-diffusion" ( if not exist "..\models\stable-diffusion" mkdir "..\models\stable-diffusion"
mkdir "..\models\stable-diffusion" echo. > "..\models\stable-diffusion\Put your custom ckpt files here.txt"
echo. > "..\models\stable-diffusion\Put your custom ckpt files here.txt"
)
@if exist "sd-v1-4.ckpt" ( @if exist "sd-v1-4.ckpt" (
for %%I in ("sd-v1-4.ckpt") do if "%%~zI" EQU "4265380512" ( for %%I in ("sd-v1-4.ckpt") do if "%%~zI" EQU "4265380512" (