aboutsummaryrefslogtreecommitdiffstats
path: root/webui.bat
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-06-04 08:17:20 +0000
committerGitHub <noreply@github.com>2023-06-04 08:17:20 +0000
commit0819383de05e57ec5da638bd4d5d180b5bac981a (patch)
treeecec2c764772b337167248382fd7b72cdcef3209 /webui.bat
parentefc4c79b5ecd0bfff09b5f7bb9acf4b9044207ae (diff)
parent333e63c0911c148ea306d7b72580d5c6d2f2c41a (diff)
downloadstable-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.bat2
1 files changed, 2 insertions, 0 deletions
diff --git a/webui.bat b/webui.bat
index 209d972b..961fc7d4 100644
--- a/webui.bat
+++ b/webui.bat
@@ -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