runtime error
/home/user/.local/lib/python3.8/site-packages/gradio/inputs.py:257: UserWarning: Usage of gradio.inputs is deprecated, and will not be supported in the future, please import your component from gradio.components warnings.warn( /home/user/.local/lib/python3.8/site-packages/gradio/deprecation.py:40: UserWarning: `optional` parameter is deprecated, and it has no effect warnings.warn(value) /home/user/.local/lib/python3.8/site-packages/gradio/outputs.py:43: UserWarning: Usage of gradio.outputs is deprecated, and will not be supported in the future, please import your components from gradio.components warnings.warn( Caching examples at: '/home/user/app/gradio_cached_examples/11' Traceback (most recent call last): File "app.py", line 42, in <module> gr.Interface(fn=predict, inputs=gr.inputs.Image(shape=(128, 128)), outputs=[gr.outputs.Image(type="pil", label="Predicción")], examples=['color_155.jpg','color_154.jpg']).launch(share=False) File "/home/user/.local/lib/python3.8/site-packages/gradio/interface.py", line 456, in __init__ self.render_article() File "/home/user/.local/lib/python3.8/site-packages/gradio/blocks.py", line 1200, in __exit__ self.config = self.get_config_file() File "/home/user/.local/lib/python3.8/site-packages/gradio/blocks.py", line 1176, in get_config_file "input": list(block.input_api_info()), # type: ignore File "/home/user/.local/lib/python3.8/site-packages/gradio_client/serializing.py", line 41, in input_api_info return (api_info["serialized_input"][0], api_info["serialized_input"][1]) KeyError: 'serialized_input'
Container logs:
Fetching error logs...