aboutsummaryrefslogtreecommitdiff
path: root/webui.bat
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2023-06-03 09:59:56 +0300
committerAUTOMATIC <16777216c@gmail.com>2023-06-03 09:59:56 +0300
commit333e63c0911c148ea306d7b72580d5c6d2f2c41a (patch)
tree48c925dc4be95b8b50305b159db2e952d1e40d35 /webui.bat
parent9d953c0e039cce2c9d8318de9b79a09e243d3e45 (diff)
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