[BUG] It says AssertionError
tjhshiwo opened this issue · comments
I used docker image to run the app and it showed error in the webpage after running the container:
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
Not sure what the problem it is now, but refresh or restart the app may help.