From 166daa1ea7fc496578787d1832dfc341b0dbe0cb Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 8 Apr 2023 02:39:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=98=BE=E7=A4=BA=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index b161c6f9..186409dd 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+(越新越好)