diff options
author | AUTOMATIC <16777216c@gmail.com> | 2022-09-12 15:52:16 +0300 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2022-09-12 15:52:16 +0300 |
commit | 2938dc39fcbd3cfd81c3634d491c2caf154a9a9a (patch) | |
tree | 6555ed6d8fb2c3f79ecb4245032ff8c6cf35b09e /webui.py | |
parent | 264d255919f05452db182671c5aabc1652494743 (diff) |
fixed gradio auth bug in PR
Diffstat (limited to 'webui.py')
-rw-r--r-- | webui.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -120,7 +120,7 @@ def webui(): 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,
+ auth=[tuple(cred.split(':')) for cred in cmd_opts.gradio_auth.strip('"').split(',')] if cmd_opts.gradio_auth else None,
)
|