Compare commits

...

10 Commits

Author SHA1 Message Date
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
5 changed files with 10 additions and 5 deletions

View File

@@ -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"]

View File

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

View File

@@ -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"

Binary file not shown.

View File

@@ -1,4 +1,4 @@
git+https://github.com/binary-husky/gradio-fix.git
./docs/gradio-3.32.2-py3-none-any.whl
tiktoken>=0.3.3
requests[socks]
transformers