From d70ea854b1c5679894361d2b9ae537060f0eab44 Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Fri, 7 Oct 2022 19:36:18 +0530 Subject: [PATCH] Create the custom model instruction file even on existing installations --- scripts/on_sd_start.bat | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/on_sd_start.bat b/scripts/on_sd_start.bat index 5cf47cf6..7a9507f2 100644 --- a/scripts/on_sd_start.bat +++ b/scripts/on_sd_start.bat @@ -165,10 +165,8 @@ 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 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" (