fb700 commited on
Commit
ea19b2e
1 Parent(s): ab2a399

Update ChuanhuChatbot.py

Browse files
Files changed (1) hide show
  1. ChuanhuChatbot.py +1 -0
ChuanhuChatbot.py CHANGED
@@ -463,6 +463,7 @@ demo.title = i18n("川虎Chat 🚀")
463
  if __name__ == "__main__":
464
  reload_javascript()
465
  demo.queue(concurrency_count=CONCURRENT_COUNT).launch(
 
466
  favicon_path="./assets/favicon.ico",
467
  )
468
  # demo.queue(concurrency_count=CONCURRENT_COUNT).launch(server_name="0.0.0.0", server_port=7860, share=False) # 可自定义端口
 
463
  if __name__ == "__main__":
464
  reload_javascript()
465
  demo.queue(concurrency_count=CONCURRENT_COUNT).launch(
466
+ auth=eval(os.environ.get("AUTHENTICATION")),
467
  favicon_path="./assets/favicon.ico",
468
  )
469
  # demo.queue(concurrency_count=CONCURRENT_COUNT).launch(server_name="0.0.0.0", server_port=7860, share=False) # 可自定义端口