diff options
author | AUTOMATIC <16777216c@gmail.com> | 2022-09-12 17:16:28 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2022-09-12 17:16:28 +0000 |
commit | c2a1b37382efecc44400ea429d34bbb9ce8ebe9b (patch) | |
tree | b57f1d63f6132f9941361d5c18dc9bc27d78213d /webui.bat | |
parent | c7e0e28ccd5c5075cc6b9c637df02864bd468c2f (diff) | |
download | stable-diffusion-webui-gfx803-c2a1b37382efecc44400ea429d34bbb9ce8ebe9b.tar.gz stable-diffusion-webui-gfx803-c2a1b37382efecc44400ea429d34bbb9ce8ebe9b.tar.bz2 stable-diffusion-webui-gfx803-c2a1b37382efecc44400ea429d34bbb9ce8ebe9b.zip |
remove check for model in bat entirely #240
Diffstat (limited to 'webui.bat')
-rw-r--r-- | webui.bat | 14 |
1 files changed, 1 insertions, 13 deletions
@@ -126,25 +126,13 @@ if %ERRORLEVEL% == 0 goto :clone_blip goto :show_stdout_stderr
:clone_blip
-if exist repositories\BLIP goto :check_model
+if exist repositories\BLIP goto :launch
echo Cloning BLIP repository...
%GIT% clone https://github.com/salesforce/BLIP.git repositories\BLIP >tmp/stdout.txt 2>tmp/stderr.txt
if %ERRORLEVEL% NEQ 0 goto :show_stdout_stderr
%GIT% -C repositories/BLIP checkout 48211a1594f1321b00f14c9f7a5b4813144b2fb9 >tmp/stdout.txt 2>tmp/stderr.txt
if %ERRORLEVEL% NEQ 0 goto :show_stdout_stderr
-:check_model
-dir model.ckpt >tmp/stdout.txt 2>tmp/stderr.txt
-if %ERRORLEVEL% == 0 goto :check_gfpgan
-echo Stable Diffusion model not found: you need to place model.ckpt file into same directory as this file.
-goto :show_stdout_stderr
-
-:check_gfpgan
-dir GFPGANv1.3.pth >tmp/stdout.txt 2>tmp/stderr.txt
-if %ERRORLEVEL% == 0 goto :launch
-echo GFPGAN not found: you need to place GFPGANv1.3.pth file into same directory as this file.
-echo Face fixing feature will not work.
-
:launch
echo Launching webui.py...
%PYTHON% webui.py %COMMANDLINE_ARGS%
|