fork 以后运行不了

#4
by ttqq1221 - opened

logs中报错
Traceback (most recent call last):
File "app.py", line 8, in
from duckduckgo_search.utils import SESSION
ModuleNotFoundError: No module named 'duckduckgo_search.utils'

依照这里的requirements.txt修改一下试试看。

修改了一下,Running起来了,看logs没有报错,但是,屏幕上一片空白,页面是空页面。
看F12 devtools,是/assets/index-8bb1e421.js 404了,请教是什么原因,是gradio版本不对么

requirements.txt

torch
torchvision
langchain==0.0.147
fschat==0.2.3
accelerate
qdrant-client
duckduckgo_search==2.9.5
transformers>=4.28.0
tokenizers
unstructured[local-inference]
layoutparser[layoutmodels,tesseract]
nltk
sentence-transformers
beautifulsoup4
gradio
icetk
cpm_kernels
faiss-cpu
wandb==0.13.0
jina
langchain-serve
protobuf==3.19.0
detectron2@git+https://github.com/facebookresearch/[email protected]#egg=detectron2

fschat要求gradio==3.23.0,你这里控制一下gradio的版本看看。

Sign up or log in to comment