diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-12-30 12:12:48 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2023-12-30 12:12:48 +0000 |
commit | f0e2e8b930115012976f7c5bae00e243a7ebbf79 (patch) | |
tree | 610355eba899cea16c3a427d8b2b56f3d3e40735 /webui.py | |
parent | 83c0758d90082d5b6f8b158f5aded709088b86b9 (diff) | |
download | stable-diffusion-webui-gfx803-f0e2e8b930115012976f7c5bae00e243a7ebbf79.tar.gz stable-diffusion-webui-gfx803-f0e2e8b930115012976f7c5bae00e243a7ebbf79.tar.bz2 stable-diffusion-webui-gfx803-f0e2e8b930115012976f7c5bae00e243a7ebbf79.zip |
update #14354
Diffstat (limited to 'webui.py')
-rw-r--r-- | webui.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -39,7 +39,7 @@ def api_only(): print(f"Startup time: {startup_timer.summary()}.")
api.launch(
- server_name=cmd_opts.server_name or ("0.0.0.0" if cmd_opts.listen else "127.0.0.1"),
+ server_name=initialize_util.gradio_server_name(),
port=cmd_opts.port if cmd_opts.port else 7861,
root_path=f"/{cmd_opts.subpath}" if cmd_opts.subpath else ""
)
|