Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yangzilong1986 opened this issue Jul 18, 2023 · 3 comments

Comments

@yangzilong1986
Copy link

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

image
image
image

@danielhjz
Copy link

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

@joytianya
Copy link
Collaborator

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

@superliufa
Copy link

近期在搭建ChatYuan-V2时遇到同样的问题,通过升级gradio到3.36.1解决。
参考了: gradio-app/gradio#4591 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants