Add server_port param to webui.py
This commit is contained in:
parent
5d087731a5
commit
4f3cebd51d
1 changed files with 1 additions and 1 deletions
2
webui.py
2
webui.py
|
@ -191,4 +191,4 @@ if __name__ == "__main__":
|
|||
run_pnginfo=run_pnginfo
|
||||
)
|
||||
|
||||
demo.launch(share=cmd_opts.share, server_name="0.0.0.0" if cmd_opts.listen else None)
|
||||
demo.launch(share=cmd_opts.share, server_name="0.0.0.0" if cmd_opts.listen else None, server_port=cmd_opts.port)
|
||||
|
|
Loading…
Reference in a new issue