JohnSmith9982 commited on
Commit
8ad39f8
·
1 Parent(s): 11eb8f3

Update ChuanhuChatbot.py

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