diff options
author | EyeDeck <eyedeck@gmail.com> | 2022-09-12 08:19:14 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-12 08:19:14 -0400 |
commit | fc49844aa8caae5edd2a28367c78bd5b7a847518 (patch) | |
tree | 7f81c4aab5e04bbde1cf0ba63f5b5fa1f4828249 /webui.py | |
parent | e3646e79aa4d1694c463be648201498a2f1091da (diff) | |
parent | c205a07fbc33ab0619108f68b3a16c51e6ef1b63 (diff) |
Merge branch 'master' into master
Diffstat (limited to 'webui.py')
-rw-r--r-- | webui.py | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -115,8 +115,13 @@ def webui(): run_pnginfo=modules.extras.run_pnginfo
)
- auth = [tuple(cred.split(':')) for cred in cmd_opts.auth.strip('"').split(',')] if cmd_opts.auth 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, debug=cmd_opts.gradio_debug, auth=auth)
+ demo.launch(
+ share=cmd_opts.share,
+ server_name="0.0.0.0" if cmd_opts.listen else None,
+ server_port=cmd_opts.port,
+ debug=cmd_opts.gradio_debug,
+ auth=[tuple(cred.split(':')) for cred in cmd_opts.auth.strip('"').split(',')] if cmd_opts.auth else None,
+ )
if __name__ == "__main__":
|