fb700 commited on
Commit
2587349
1 Parent(s): d36d012

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +3 -3
main.py CHANGED
@@ -14,8 +14,8 @@ def main():
14
 
15
  from check_proxy import get_current_version
16
  initial_prompt = "Serve me as a writing and programming assistant."
17
- title_html = f"<h1 align=\"center\">ChatGPT 学术优化 {get_current_version()}</h1>"
18
- description = """代码开源和更新[地址🚀](https://github.com/binary-husky/chatgpt_academic),感谢热情的[开发者们❤️](https://github.com/binary-husky/chatgpt_academic/graphs/contributors)"""
19
 
20
  # 问询记录, python 版本建议3.9+(越新越好)
21
  import logging
@@ -183,6 +183,6 @@ def main():
183
 
184
  auto_opentab_delay()
185
  #demo.queue(concurrency_count=CONCURRENT_COUNT).launch(server_name="0.0.0.0", server_port=PORT, auth=AUTHENTICATION, favicon_path="docs/logo.png")
186
- demo.queue(concurrency_count=CONCURRENT_COUNT).launch(server_name="0.0.0.0", share=False, favicon_path="docs/logo.png",auth=("fbai", "Fbai!234"), )
187
  if __name__ == "__main__":
188
  main()
 
14
 
15
  from check_proxy import get_current_version
16
  initial_prompt = "Serve me as a writing and programming assistant."
17
+ title_html = f"<h1 align=\"center\">帛凡 ChatGPT 学术优化 {get_current_version()}</h1>"
18
+ description = """和气生财,万事如意"""
19
 
20
  # 问询记录, python 版本建议3.9+(越新越好)
21
  import logging
 
183
 
184
  auto_opentab_delay()
185
  #demo.queue(concurrency_count=CONCURRENT_COUNT).launch(server_name="0.0.0.0", server_port=PORT, auth=AUTHENTICATION, favicon_path="docs/logo.png")
186
+ demo.queue(concurrency_count=CONCURRENT_COUNT).launch(server_name="0.0.0.0", share=False, favicon_path="docs/logo.png",auth=(["fbai", "Fbai!234"],["kmsmj", "017962"] ), )
187
  if __name__ == "__main__":
188
  main()