SD_WEBUI_RESTARTING

This commit is contained in:
w-e-w
2023-06-06 02:52:05 +09:00
parent eaace155ce
commit c2808f3040
2 changed files with 2 additions and 2 deletions

View File

@@ -247,7 +247,7 @@ def prepare_environment():
try:
# the existance of this file is a signal to webui.sh/bat that webui needs to be restarted when it stops execution
os.remove(os.path.join(script_path, "tmp", "restart"))
os.environ.setdefault('SD_WEBUI_DISABLE_AUTOLAUNCH', '1')
os.environ.setdefault('SD_WEBUI_RESTARTING ', '1')
except OSError:
pass