diff options
author | AUTOMATIC <16777216c@gmail.com> | 2022-09-05 16:37:11 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2022-09-05 16:37:11 +0000 |
commit | 064965c4660f57f24e2d51a9854defaeabf8c0cf (patch) | |
tree | a4f1a1cbe2a301ec3dde5d1231d7e1e124bbda70 /webui.py | |
parent | 5bb69bd915ff16fe233f887dba8c9ae8502d08d9 (diff) | |
download | stable-diffusion-webui-gfx803-064965c4660f57f24e2d51a9854defaeabf8c0cf.tar.gz stable-diffusion-webui-gfx803-064965c4660f57f24e2d51a9854defaeabf8c0cf.tar.bz2 stable-diffusion-webui-gfx803-064965c4660f57f24e2d51a9854defaeabf8c0cf.zip |
added --listen option to make gradio listen on network requests
Diffstat (limited to 'webui.py')
-rw-r--r-- | webui.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -169,4 +169,4 @@ demo = modules.ui.create_ui( run_pnginfo=run_pnginfo
)
-demo.launch(share=cmd_opts.share)
+demo.launch(share=cmd_opts.share, server_name="0.0.0.0" if cmd_opts.listen else None)
|