aboutsummaryrefslogtreecommitdiffstats
path: root/webui.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-08-28 04:53:37 +0000
committerGitHub <noreply@github.com>2023-08-28 04:53:37 +0000
commit8632452627e1341bcd447dbec3c1516f319200a0 (patch)
tree342576f3a42cb1ef4affc075278a3b91c893408d /webui.py
parent66146ed72bd032ec3123c43623d7d5be6efba7fc (diff)
parent18e3e6d6abfc084324cc8ae13f70ba4af5ddc35f (diff)
downloadstable-diffusion-webui-gfx803-8632452627e1341bcd447dbec3c1516f319200a0.tar.gz
stable-diffusion-webui-gfx803-8632452627e1341bcd447dbec3c1516f319200a0.tar.bz2
stable-diffusion-webui-gfx803-8632452627e1341bcd447dbec3c1516f319200a0.zip
Merge pull request #12815 from AUTOMATIC1111/consolidate-local-check
consolidate local check
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 12328423..9ed20b30 100644
--- a/webui.py
+++ b/webui.py
@@ -74,7 +74,7 @@ def webui():
if shared.opts.auto_launch_browser == "Remote" or cmd_opts.autolaunch:
auto_launch_browser = True
elif shared.opts.auto_launch_browser == "Local":
- auto_launch_browser = not any([cmd_opts.listen, cmd_opts.share, cmd_opts.ngrok, cmd_opts.server_name])
+ auto_launch_browser = not cmd_opts.webui_is_non_local
app, local_url, share_url = shared.demo.launch(
share=cmd_opts.share,