Commit 7990ed92 authored by Ju1-js's avatar Ju1-js Committed by GitHub

Slash was facing the wrong way

parent 1e30e4d9
...@@ -209,7 +209,7 @@ def webui(): ...@@ -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():
......
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