aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJu1-js <40339350+Ju1-js@users.noreply.github.com>2023-03-01 06:05:47 +0000
committerGitHub <noreply@github.com>2023-03-01 06:05:47 +0000
commit7990ed92be7f34e609b441252ff97ae1504b0a3f (patch)
tree9084be4a6a8440d0e5e4a7c84ca82a4dcc59f147
parent1e30e4d9ebd9c36ccee43ec0e61c6ab490171614 (diff)
downloadstable-diffusion-webui-gfx803-7990ed92be7f34e609b441252ff97ae1504b0a3f.tar.gz
stable-diffusion-webui-gfx803-7990ed92be7f34e609b441252ff97ae1504b0a3f.tar.bz2
stable-diffusion-webui-gfx803-7990ed92be7f34e609b441252ff97ae1504b0a3f.zip
Slash was facing the wrong way
-rw-r--r--webui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/webui.py b/webui.py
index 5e925fa7..d60c4e5d 100644
--- a/webui.py
+++ b/webui.py
@@ -209,7 +209,7 @@ def webui():
gradio_auth_creds = []
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:
with open(cmd_opts.gradio_auth_path, 'r', encoding="utf8") as file:
for line in file.readlines():