Slash was facing the wrong way
This commit is contained in:
parent
1e30e4d9eb
commit
7990ed92be
2
webui.py
2
webui.py
@ -209,7 +209,7 @@ def webui():
|
|||||||
|
|
||||||
gradio_auth_creds = []
|
gradio_auth_creds = []
|
||||||
if cmd_opts.gradio_auth:
|
if cmd_opts.gradio_auth:
|
||||||
gradio_auth_creds += [x.strip() for x in cmd_opts.gradio_auth.strip('"').replace('/n', '').split(',') if x.strip()]
|
gradio_auth_creds += [x.strip() for x in cmd_opts.gradio_auth.strip('"').replace('\n', '').split(',') if x.strip()]
|
||||||
if cmd_opts.gradio_auth_path:
|
if cmd_opts.gradio_auth_path:
|
||||||
with open(cmd_opts.gradio_auth_path, 'r', encoding="utf8") as file:
|
with open(cmd_opts.gradio_auth_path, 'r', encoding="utf8") as file:
|
||||||
for line in file.readlines():
|
for line in file.readlines():
|
||||||
|
Loading…
Reference in New Issue
Block a user