diff --git a/main.py b/main.py index b161c6f..186409d 100644 --- a/main.py +++ b/main.py @@ -11,8 +11,9 @@ proxies, WEB_PORT, LLM_MODEL, CONCURRENT_COUNT, AUTHENTICATION, CHATBOT_HEIGHT, PORT = find_free_port() if WEB_PORT <= 0 else WEB_PORT if not AUTHENTICATION: AUTHENTICATION = None +from check_proxy import get_current_version initial_prompt = "Serve me as a writing and programming assistant." -title_html = "

ChatGPT 学术优化

" +title_html = f"

ChatGPT 学术优化 {get_current_version()}

" description = """代码开源和更新[地址🚀](https://github.com/binary-husky/chatgpt_academic),感谢热情的[开发者们❤️](https://github.com/binary-husky/chatgpt_academic/graphs/contributors)""" # 问询记录, python 版本建议3.9+(越新越好)