THUDM / WebGLM

WebGLM: An Efficient Web-enhanced Question Answering System (KDD 2023)
Apache License 2.0
1.57k stars 135 forks source link

web_demo无法运行 #43

Open kxonechance opened 1 year ago

kxonechance commented 1 year ago

cli_demo能够正常运行,执行web_demo时,会在./model/retriever/filtering/contriver.py AutoModel.from_pretrained(query_encoder_path) core掉。

去掉 import gradio as gr,上述问题消失。所以,是gradio和transformer不兼容的问题么,确认过了,gradio和transformer的版本均与requirements一致

Longin-Yu commented 1 year ago

感谢尝试WebGLM!可以将报错信息(包括Traceback)截图或粘贴展示一下吗?