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

AssertionError when running a demo #65

Open
suikei-wang opened this issue Jul 22, 2024 · 0 comments
Open

AssertionError when running a demo #65

suikei-wang opened this issue Jul 22, 2024 · 0 comments

Comments

@suikei-wang
Copy link

Hi there,

Thanks for your work! I am trying to run the demo locally. However, I keep encountering the assertion error when I try to submit an image & text:

/anaconda3/envs/glamm/lib/python3.10/site-packages/gradio/components/image.py", line 243, in preprocess
    assert isinstance(x, str)
AssertionError

I printed the x out and it is a dict instead of a str. Do you have any ideas to fix this?

Also, I am wondering if there is any other inference other than the Gradio supported? I would like to run a batch of inferences. Thank you!

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

1 participant