Remove unnecessary line

This commit is contained in:
Ju1-js 2023-03-01 18:25:23 -08:00 committed by GitHub
parent 7990ed92be
commit fc3063d9b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -214,7 +214,6 @@ def webui():
with open(cmd_opts.gradio_auth_path, 'r', encoding="utf8") as file:
for line in file.readlines():
gradio_auth_creds += [x.strip() for x in line.split(',') if x.strip()]
file.close()
app, local_url, share_url = shared.demo.launch(
share=cmd_opts.share,