比较提交

..

17 次代码提交

作者 SHA1 备注 提交日期
binary-husky
42cf738a31 修复一些情况下复制键失效的问题 2023-05-28 18:12:48 +08:00
binary-husky
e4646789af Merge branch 'master' of github.com:binary-husky/chatgpt_academic 2023-05-28 16:07:29 +08:00
binary-husky
e6c3aabd45 docker-compose check 2023-05-28 16:07:24 +08:00
binary-husky
6789d1fab4 Update README.md 2023-05-28 11:21:50 +08:00
binary-husky
7a733f00a2 Update README.md 2023-05-28 00:19:23 +08:00
binary-husky
dd55888f0e Update README.md 2023-05-28 00:16:45 +08:00
binary-husky
0327df22eb Update README.md 2023-05-28 00:14:54 +08:00
binary-husky
e544f5e9d0 Update README.md 2023-05-27 23:45:15 +08:00
binary-husky
0fad4f44a4 fix dockerfile 2023-05-27 23:36:42 +08:00
binary-husky
1240dd6f26 local gradio 2023-05-27 23:29:22 +08:00
505030475
d6be947177 修复gradio的依赖安装问题 2023-05-27 23:10:44 +08:00
505030475
3cfbdce9f2 remove limitation for now 2023-05-27 22:25:50 +08:00
505030475
1ee471ff57 fix reminder 2023-05-27 22:20:46 +08:00
binary-husky
25ccecf8e3 Update README.md 2023-05-27 21:56:43 +08:00
binary-husky
9e991bfa3e Update requirements.txt 2023-05-27 21:56:16 +08:00
binary-husky
221efd0193 Update README.md 2023-05-27 21:11:25 +08:00
binary-husky
976b9bf65f Update README.md 2023-05-27 21:04:52 +08:00
共有 6 个文件被更改,包括 12 次插入7 次删除

查看文件

@@ -9,12 +9,16 @@ RUN echo '[global]' > /etc/pip.conf && \
WORKDIR /gpt
COPY requirements.txt .
# 装载项目文件
COPY . .
# 安装依赖
RUN pip3 install -r requirements.txt
COPY . .
# 可选步骤,用于预热模块
RUN python3 -c 'from check_proxy import warm_up_modules; warm_up_modules()'
# 启动
CMD ["python3", "-u", "main.py"]

查看文件

@@ -1,8 +1,8 @@
> **Note**
>
> 安装依赖时,请严格选择requirements.txt中**指定的版本**
> 5月27日对gradio依赖进行了较大的修复和调整,fork并解决了官方Gradio的一系列bug。但如果27日当天进行了更新,可能会导致代码报错依赖缺失,卡在loading界面等,请及时更新到**最新版代码**并重新安装pip依赖即可。若给您带来困扰还请谅解。安装依赖时,请严格选择requirements.txt中**指定的版本**
>
> `pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/`
> `pip install -r requirements.txt -i https://pypi.org/simple`
>
# <img src="docs/logo.png" width="40" > GPT 学术优化 (GPT Academic)
@@ -302,7 +302,7 @@ gpt_academic开发者QQ群-2610599535
- 已知问题
- 某些浏览器翻译插件干扰此软件前端的运行
- gradio版本过高或过低,都会导致多种异常
- 官方Gradio目前有很多兼容性Bug,请务必使用requirement.txt安装Gradio
## 参考与学习

查看文件

@@ -99,6 +99,7 @@ services:
command: >
bash -c " echo '[gpt-academic] 正在从github拉取最新代码...' &&
git pull &&
pip install -r requirements.txt &&
echo '[jittorllms] 正在从github拉取最新代码...' &&
git --git-dir=request_llm/jittorllms/.git --work-tree=request_llm/jittorllms pull --force &&
python3 -u main.py"

二进制
docs/gradio-3.32.2-py3-none-any.whl 普通文件

二进制文件未显示。

查看文件

@@ -2,7 +2,7 @@ import os; os.environ['no_proxy'] = '*' # 避免代理网络产生意外污染
def main():
import gradio as gr
assert gr.__version__.startswith("3.32.1"), "Please run `pip install -r requirements.txt --upgrade` to install a stable gradio fork."
if gr.__version__ not in ['3.28.3','3.32.2']: assert False, "请用 pip install -r requirements.txt 安装依赖"
from request_llm.bridge_all import predict
from toolbox import format_io, find_free_port, on_file_uploaded, on_report_generated, get_conf, ArgsGeneralWrapper, DummyWith
# 建议您复制一个config_private.py放自己的秘密, 如API和代理网址, 避免不小心传github被别人看到

查看文件

@@ -1,4 +1,4 @@
gradio-version-freeze
./docs/gradio-3.32.2-py3-none-any.whl
tiktoken>=0.3.3
requests[socks]
transformers