aboutsummaryrefslogtreecommitdiffstats
path: root/webui.py
diff options
context:
space:
mode:
authorw-e-w <40751091+w-e-w@users.noreply.github.com>2023-08-27 18:42:02 +0000
committerw-e-w <40751091+w-e-w@users.noreply.github.com>2023-08-27 18:43:27 +0000
commit18e3e6d6abfc084324cc8ae13f70ba4af5ddc35f (patch)
treeabc67fb6c65b4301f4da70f36ef5665f94aeba08 /webui.py
parentad266d795e08f8316e2a60566513f7115b7407d5 (diff)
downloadstable-diffusion-webui-gfx803-18e3e6d6abfc084324cc8ae13f70ba4af5ddc35f.tar.gz
stable-diffusion-webui-gfx803-18e3e6d6abfc084324cc8ae13f70ba4af5ddc35f.tar.bz2
stable-diffusion-webui-gfx803-18e3e6d6abfc084324cc8ae13f70ba4af5ddc35f.zip
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,