diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-06-04 08:17:20 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-04 08:17:20 +0000 |
commit | 0819383de05e57ec5da638bd4d5d180b5bac981a (patch) | |
tree | ecec2c764772b337167248382fd7b72cdcef3209 /webui.bat | |
parent | efc4c79b5ecd0bfff09b5f7bb9acf4b9044207ae (diff) | |
parent | 333e63c0911c148ea306d7b72580d5c6d2f2c41a (diff) | |
download | stable-diffusion-webui-gfx803-0819383de05e57ec5da638bd4d5d180b5bac981a.tar.gz stable-diffusion-webui-gfx803-0819383de05e57ec5da638bd4d5d180b5bac981a.tar.bz2 stable-diffusion-webui-gfx803-0819383de05e57ec5da638bd4d5d180b5bac981a.zip |
Merge pull request #10975 from AUTOMATIC1111/restart3
A yet another method to restart webui.
Diffstat (limited to 'webui.bat')
-rw-r--r-- | webui.bat | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -51,12 +51,14 @@ if EXIST %ACCELERATE% goto :accelerate_launch :launch
%PYTHON% launch.py %*
+if EXIST tmp/restart goto :skip_venv
pause
exit /b
:accelerate_launch
echo Accelerating
%ACCELERATE% launch --num_cpu_threads_per_process=6 launch.py
+if EXIST tmp/restart goto :skip_venv
pause
exit /b
|