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

web_demo: error message input must be a CUDA tensor #539

Open
2 tasks
clilyn1234 opened this issue Nov 30, 2024 · 1 comment
Open
2 tasks

web_demo: error message input must be a CUDA tensor #539

clilyn1234 opened this issue Nov 30, 2024 · 1 comment

Comments

@clilyn1234
Copy link

System Info / 系統信息

当我输入一段文本和图片只会,就会报这个错误

Who can help? / 谁可以帮助到您?

No response

Information / 问题信息

  • The official example scripts / 官方的示例脚本
  • My own modified scripts / 我自己修改的脚本和任务

Reproduction / 复现过程

运行webdemo.py只后,输入文本+图片,就会有这个错误

Expected behavior / 期待表现

help

@MachineDora
Copy link

把webdemo.py118行,就是try-catch注释掉,可以看到具体的报错。
目前我遇到有几种:

  1. 系统没有字体;
  2. gradio版本不对;
  3. fastapi版本不对;

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

2 participants