fix default

This commit is contained in:
orionaskatu 2022-09-08 10:46:23 +02:00 committed by GitHub
parent 50178b7f5b
commit cce6f1df41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 if cmd_opts.port 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)