a yet another method to restart webui

This commit is contained in:
AUTOMATIC
2023-06-03 09:59:56 +03:00
parent 9d953c0e03
commit 333e63c091
5 changed files with 38 additions and 15 deletions

View File

@@ -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