Compare commits

...

2 Commits

Author SHA1 Message Date
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
3 changed files with 7 additions and 3 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"]

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