aboutsummaryrefslogtreecommitdiff
path: root/webui.py
diff options
context:
space:
mode:
authorw-e-w <40751091+w-e-w@users.noreply.github.com>2023-06-06 02:52:05 +0900
committerw-e-w <40751091+w-e-w@users.noreply.github.com>2023-06-06 02:52:05 +0900
commitc2808f3040babbb5b9456d15aa2a9354c1c64d23 (patch)
tree092b604f25cd61760fb75ecb2c67bce1e1f58ff7 /webui.py
parenteaace155cebeb4e713fc6f232261eeed6b958736 (diff)
SD_WEBUI_RESTARTING
Diffstat (limited to 'webui.py')
-rw-r--r--webui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/webui.py b/webui.py
index 58482cf4..136d036d 100644
--- a/webui.py
+++ b/webui.py
@@ -396,7 +396,7 @@ def webui():
ssl_verify=cmd_opts.disable_tls_verify,
debug=cmd_opts.gradio_debug,
auth=gradio_auth_creds,
- inbrowser=cmd_opts.autolaunch and os.getenv('SD_WEBUI_DISABLE_AUTOLAUNCH') != '1',
+ inbrowser=cmd_opts.autolaunch and os.getenv('SD_WEBUI_RESTARTING ') != '1',
prevent_thread_lock=True,
allowed_paths=cmd_opts.gradio_allowed_path,
app_kwargs={