Commit 48317a51 authored by orionaskatu's avatar orionaskatu Committed by GitHub

Port defaults to none

parent 9c510011
...@@ -191,4 +191,4 @@ if __name__ == "__main__": ...@@ -191,4 +191,4 @@ if __name__ == "__main__":
run_pnginfo=run_pnginfo run_pnginfo=run_pnginfo
) )
demo.launch(share=cmd_opts.share, server_name="0.0.0.0" if cmd_opts.listen else None, server_port=cmd_opts.port) demo.launch(share=cmd_opts.share, server_name="0.0.0.0" if cmd_opts.listen else None, server_port=cmd_opts.port if cmd_opts.port else None)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment