aboutsummaryrefslogtreecommitdiff
path: root/webui.bat
diff options
context:
space:
mode:
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