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

[BUG] It says AssertionError #93

Open
tjhshiwo opened this issue Jun 25, 2023 · 1 comment
Open

[BUG] It says AssertionError #93

tjhshiwo opened this issue Jun 25, 2023 · 1 comment

Comments

@tjhshiwo
Copy link

I used docker image to run the app and it showed error in the webpage after running the container:

error page:
image

trace log of the container:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/gradio/routes.py", line 406, in run_predict
event_data=event_data,
File "/usr/local/lib/python3.7/site-packages/gradio/blocks.py", line 1297, in process_api
inputs = self.preprocess_data(fn_index, inputs, state)
File "/usr/local/lib/python3.7/site-packages/gradio/blocks.py", line 1145, in preprocess_data
processed_input.append(block.preprocess(inputs[i]))
File "/usr/local/lib/python3.7/site-packages/gradio/components.py", line 1780, in preprocess
assert isinstance(x, dict)
AssertionError

@Zeqiang-Lai
Copy link
Collaborator

Not sure what the problem it is now, but refresh or restart the app may help.

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