Spaces:
Sleeping
Sleeping
MZhao
commited on
Commit
•
c445249
1
Parent(s):
d1cfc73
修复未设置密码时仍有验证的bug
Browse files- ChuanhuChatbot.py +1 -2
ChuanhuChatbot.py
CHANGED
@@ -432,12 +432,11 @@ demo.title = "川虎ChatGPT 🚀"
|
|
432 |
|
433 |
if __name__ == "__main__":
|
434 |
reload_javascript()
|
435 |
-
auth = auth_list if authflag else None
|
436 |
demo.queue(concurrency_count=CONCURRENT_COUNT).launch(
|
437 |
server_name=server_name,
|
438 |
server_port=server_port,
|
439 |
share=share,
|
440 |
-
auth=auth_list,
|
441 |
favicon_path="./assets/favicon.ico",
|
442 |
inbrowser=not dockerflag, # 禁止在docker下开启inbrowser
|
443 |
)
|
|
|
432 |
|
433 |
if __name__ == "__main__":
|
434 |
reload_javascript()
|
|
|
435 |
demo.queue(concurrency_count=CONCURRENT_COUNT).launch(
|
436 |
server_name=server_name,
|
437 |
server_port=server_port,
|
438 |
share=share,
|
439 |
+
auth=auth_list if authflag else None,
|
440 |
favicon_path="./assets/favicon.ico",
|
441 |
inbrowser=not dockerflag, # 禁止在docker下开启inbrowser
|
442 |
)
|