clue-ai / ChatYuan

ChatYuan: Large Language Model for Dialogue in Chinese and English
https://www.clueai.cn
Other
1.9k stars 183 forks source link

app_gradio.py 启动后,运行错误,http 响应422 Unprocessable Entity #60

Open yangzilong1986 opened 1 year ago

yangzilong1986 commented 1 year ago

下载项目以及模型后,修改app_gradio.py模型加载路径地址,启动操作输入信息提示错误,看请求返回 422 Unprocessable Entity

image image image

danielhjz commented 1 year ago

我在用gradio的时候也碰到一样的422 run/predict的问题,本地跑似乎没有问题,在容器里边跑出了这个问题

joytianya commented 1 year ago

是不是和gradio版本有关,降级一下试试 容器中端口没有像本地端口那么方便

superliufa commented 9 months ago

近期在搭建ChatYuan-V2时遇到同样的问题,通过升级gradio到3.36.1解决。 参考了: https://github.com/gradio-app/gradio/issues/4591#issuecomment-1630029889