JohnSmith9982 commited on
Commit
41ef1dc
·
1 Parent(s): 93de920

Update ChuanhuChatbot.py

Browse files
Files changed (1) hide show
  1. ChuanhuChatbot.py +0 -5
ChuanhuChatbot.py CHANGED
@@ -467,12 +467,7 @@ demo.title = i18n("川虎Chat 🚀")
467
  if __name__ == "__main__":
468
  reload_javascript()
469
  demo.queue(concurrency_count=CONCURRENT_COUNT).launch(
470
- server_name=server_name,
471
- server_port=server_port,
472
- share=share,
473
- auth=auth_list if authflag else None,
474
  favicon_path="./assets/favicon.ico",
475
- inbrowser=not dockerflag, # 禁止在docker下开启inbrowser
476
  )
477
  # demo.queue(concurrency_count=CONCURRENT_COUNT).launch(server_name="0.0.0.0", server_port=7860, share=False) # 可自定义端口
478
  # demo.queue(concurrency_count=CONCURRENT_COUNT).launch(server_name="0.0.0.0", server_port=7860,auth=("在这里填写用户名", "在这里填写密码")) # 可设置用户名与密码
 
467
  if __name__ == "__main__":
468
  reload_javascript()
469
  demo.queue(concurrency_count=CONCURRENT_COUNT).launch(
 
 
 
 
470
  favicon_path="./assets/favicon.ico",
 
471
  )
472
  # demo.queue(concurrency_count=CONCURRENT_COUNT).launch(server_name="0.0.0.0", server_port=7860, share=False) # 可自定义端口
473
  # demo.queue(concurrency_count=CONCURRENT_COUNT).launch(server_name="0.0.0.0", server_port=7860,auth=("在这里填写用户名", "在这里填写密码")) # 可设置用户名与密码