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

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