Skip to content

[BUG] It says AssertionError #93

Description

@tjhshiwo

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions