diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-06-05 17:57:31 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-05 17:57:31 +0000 |
commit | 0895c2369cdb795acd0de072acf426c4b54fedc5 (patch) | |
tree | a2755d72540813fb951228959e892aedbd1e8ab5 /webui.py | |
parent | e89a248e2ef7a11d7e5026eef221e2ef759a938f (diff) | |
parent | c2808f3040babbb5b9456d15aa2a9354c1c64d23 (diff) | |
download | stable-diffusion-webui-gfx803-0895c2369cdb795acd0de072acf426c4b54fedc5.tar.gz stable-diffusion-webui-gfx803-0895c2369cdb795acd0de072acf426c4b54fedc5.tar.bz2 stable-diffusion-webui-gfx803-0895c2369cdb795acd0de072acf426c4b54fedc5.zip |
Merge pull request #11037 from AUTOMATIC1111/restart-autolaunch
fix rework-disable-autolaunch for new restart method
Diffstat (limited to 'webui.py')
-rw-r--r-- | webui.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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,
+ inbrowser=cmd_opts.autolaunch and os.getenv('SD_WEBUI_RESTARTING ') != '1',
prevent_thread_lock=True,
allowed_paths=cmd_opts.gradio_allowed_path,
app_kwargs={
|