runtime error

Space failed. Exit code: 1. Reason: 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.10/site-packages/gradio/deprecation.py:40: UserWarning: `optional` parameter is deprecated, and it has no effect warnings.warn(value) /home/user/.local/lib/python3.10/site-packages/gradio/outputs.py:197: UserWarning: Usage of gradio.outputs is deprecated, and will not be supported in the future, please import your components from gradio.components warnings.warn( /home/user/.local/lib/python3.10/site-packages/gradio/deprecation.py:40: UserWarning: The 'type' parameter has been deprecated. Use the Number component instead. warnings.warn(value) Caching examples at: '/home/user/app/gradio_cached_examples/11' β–ˆ |----------------------------------------| 0.00% [0/1 00:00<?] |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 100.00% [1/1 00:00<00:00] β–ˆ |----------------------------------------| 0.00% [0/1 00:00<?] |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 100.00% [1/1 00:00<00:00] Running on local URL: http://0.0.0.0:7860 Traceback (most recent call last): File "/home/user/app/app.py", line 26, in <module> gr.Interface(fn=predict, inputs=gr.inputs.Image(shape=(256, 256)), outputs=gr.outputs.Label(num_top_classes=3),examples=['Normal_0001.jpeg','Pneumonia_475.jpeg']).launch(share=True) File "/home/user/.local/lib/python3.10/site-packages/gradio/blocks.py", line 1469, in launch raise RuntimeError("Share is not supported when you are in Spaces") RuntimeError: Share is not supported when you are in Spaces

Container logs:

Fetching error logs...