From 7cad5fa594aa63b934672a3465271fcd38d34c9c Mon Sep 17 00:00:00 2001 From: binary-husky <96192199+binary-husky@users.noreply.github.com> Date: Thu, 13 Apr 2023 11:53:52 +0800 Subject: [PATCH 1/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b0a9104..fbb857c 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ If you like this project, please give it a Star. If you've come up with more use [配置代理服务器](https://www.bilibili.com/video/BV1rc411W7Dr) | 支持配置代理服务器 模块化设计 | 支持自定义高阶的实验性功能与[函数插件],插件支持[热更新](https://github.com/binary-husky/chatgpt_academic/wiki/%E5%87%BD%E6%95%B0%E6%8F%92%E4%BB%B6%E6%8C%87%E5%8D%97) [自我程序剖析](https://www.bilibili.com/video/BV1cj411A7VW) | [函数插件] [一键读懂](https://github.com/binary-husky/chatgpt_academic/wiki/chatgpt-academic%E9%A1%B9%E7%9B%AE%E8%87%AA%E8%AF%91%E8%A7%A3%E6%8A%A5%E5%91%8A)本项目的源代码 -[程序剖析](https://www.bilibili.com/video/BV1cj411A7VW) | [函数插件] 一键可以剖析其他Python/C/C++/Java项目树 +[程序剖析](https://www.bilibili.com/video/BV1cj411A7VW) | [函数插件] 一键可以剖析其他Python/C/C++/Java/Golang/Lua/Rect项目树 读论文 | [函数插件] 一键解读latex论文全文并生成摘要 Latex全文翻译、润色 | [函数插件] 一键翻译或润色latex论文 批量注释生成 | [函数插件] 一键批量生成函数注释 From 16f7a52207f0d5e4513f847da6eaf39df6d7fcc0 Mon Sep 17 00:00:00 2001 From: binary-husky <96192199+binary-husky@users.noreply.github.com> Date: Thu, 13 Apr 2023 12:02:52 +0800 Subject: [PATCH 2/5] =?UTF-8?q?Update=20=E9=AB=98=E7=BA=A7=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E5=87=BD=E6=95=B0=E6=A8=A1=E6=9D=BF.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crazy_functions/高级功能函数模板.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crazy_functions/高级功能函数模板.py b/crazy_functions/高级功能函数模板.py index 50a5cd7..7c6a7ff 100644 --- a/crazy_functions/高级功能函数模板.py +++ b/crazy_functions/高级功能函数模板.py @@ -6,7 +6,7 @@ def 高阶功能模板函数(txt, llm_kwargs, plugin_kwargs, chatbot, history, s """ txt 输入栏用户输入的文本,例如需要翻译的一段话,再例如一个包含了待处理文件的路径 llm_kwargs gpt模型参数,如温度和top_p等,一般原样传递下去就行 - plugin_kwargs 插件模型的参数,如温度和top_p等,一般原样传递下去就行 + plugin_kwargs 插件模型的参数,暂时没有用武之地 chatbot 聊天显示框的句柄,用于显示给用户 history 聊天历史,前情提要 system_prompt 给gpt的静默提醒 @@ -26,4 +26,4 @@ def 高阶功能模板函数(txt, llm_kwargs, plugin_kwargs, chatbot, history, s ) chatbot[-1] = (i_say, gpt_say) history.append(i_say);history.append(gpt_say) - yield from update_ui(chatbot=chatbot, history=history) # 刷新界面 # 界面更新 \ No newline at end of file + yield from update_ui(chatbot=chatbot, history=history) # 刷新界面 # 界面更新 From 703ff7f81481a4734d01b6f277ed219a6a2e3ca0 Mon Sep 17 00:00:00 2001 From: binary-husky <96192199+binary-husky@users.noreply.github.com> Date: Thu, 13 Apr 2023 12:17:59 +0800 Subject: [PATCH 3/5] Update README.md --- README.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/README.md b/README.md index fbb857c..b5f81a0 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,3 @@ - -> **Note** -> -> 紧急:很抱歉2.60版本的一部分代码重构出错,目前2.67及以上版本已经解决,请您及时更新。 -> - # ChatGPT 学术优化 **如果喜欢这个项目,请给它一个Star;如果你发明了更好用的快捷键或函数插件,欢迎发issue或者pull requests(dev分支)** From ff55bbd49801989566956a9ac2db4c96998bae82 Mon Sep 17 00:00:00 2001 From: binary-husky <96192199+binary-husky@users.noreply.github.com> Date: Thu, 13 Apr 2023 12:20:54 +0800 Subject: [PATCH 4/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b5f81a0..f3a12db 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ huggingface免科学上网[在线体验](https://huggingface.co/spaces/qingxu98/ -- 新界面 +- 新界面(修改config.py中的LAYOUT选项即可实现“左右布局”和“上下布局”的切换)
From eee5763b15966a53ad6def21d9549d86f291af56 Mon Sep 17 00:00:00 2001 From: binary-husky <96192199+binary-husky@users.noreply.github.com> Date: Thu, 13 Apr 2023 12:27:28 +0800 Subject: [PATCH 5/5] Update requirements.txt --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 81d8aa6..910be08 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,5 @@ gradio>=3.25.0 +tiktoken>=0.3.3 requests[socks] transformers python-markdown-math @@ -7,7 +8,6 @@ latex2mathml python-docx mdtex2html colorama -tiktoken Markdown pygments pymupdf