From 6f883031c0ebb2bf67bc93e635ef89c147d0a6e4 Mon Sep 17 00:00:00 2001 From: binary-husky <96192199+binary-husky@users.noreply.github.com> Date: Wed, 1 May 2024 14:54:36 +0800 Subject: [PATCH 1/4] Update config.py --- config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.py b/config.py index 06b90485..46b65787 100644 --- a/config.py +++ b/config.py @@ -229,7 +229,7 @@ MATHPIX_APPID = "" MATHPIX_APPKEY = "" -# Mathpix 拥有执行PDF的OCR功能,但是需要注册账号 +# DOC2X的PDF解析服务,注册账号并获取API KEY: https://doc2x.noedgeai.com/login DOC2X_API_KEY = "" From ebde98b34b179d39427532e9dc33014dabe4a56b Mon Sep 17 00:00:00 2001 From: OREEkE Date: Wed, 1 May 2024 14:55:04 +0800 Subject: [PATCH 2/4] Update requirements.txt (#1753) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit TTS_TYPE = "EDGE_TTS"需要的依赖 --- requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 190b7aca..191f5283 100644 --- a/requirements.txt +++ b/requirements.txt @@ -22,9 +22,10 @@ pyautogen colorama Markdown pygments +edge-tts pymupdf openai rjsmin arxiv numpy -rich \ No newline at end of file +rich From 3eff96442411e6cddb808931140f4b4bb22b9f05 Mon Sep 17 00:00:00 2001 From: binary-husky <96192199+binary-husky@users.noreply.github.com> Date: Wed, 1 May 2024 17:59:25 +0800 Subject: [PATCH 3/4] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6cf9ba95..a49f88f9 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ > [!IMPORTANT] -> 2024.4.21: 开始测试3.75版本(`frontier`)分支,引入多种TTS(文本转语音)模块 +> 2024.5.1: 加入Doc2x翻译PDF论文的功能,[查看详情](https://github.com/binary-husky/gpt_academic/wiki/Doc2x) +> 2024.4.30: 3.75版本引入Edge-TTS和SoVits语音克隆模块,[查看详情](https://www.bilibili.com/video/BV1Rp421S7tF/) > 2024.3.11: 恭迎Claude3和Moonshot,全力支持Qwen、GLM、DeepseekCoder等中文大语言模型! -> 2024.1.18: 更新3.70版本,支持Mermaid绘图库(让大模型绘制脑图) > 2024.1.17: 安装依赖时,请选择`requirements.txt`中**指定的版本**。 安装命令:`pip install -r requirements.txt`。本项目完全开源免费,您可通过订阅[在线服务](https://github.com/binary-husky/gpt_academic/wiki/online)的方式鼓励本项目的发展。
From 43ed8cb8a8d582b2a278e70e527bac5324d64b8f Mon Sep 17 00:00:00 2001 From: binary-husky <96192199+binary-husky@users.noreply.github.com> Date: Sat, 4 May 2024 16:43:42 +0800 Subject: [PATCH 4/4] Fix fastapi version compat --- requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements.txt b/requirements.txt index 191f5283..64b82027 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,5 @@ https://public.agent-matrix.com/publish/gradio-3.32.9-py3-none-any.whl +fastapi==0.110 gradio-client==0.8 pypdf2==2.12.1 zhipuai==2.0.1