runtime error

/home/user/app/app.py:54: GradioDeprecationWarning: Usage of gradio.inputs is deprecated, and will not be supported in the future, please import your component from gradio.components inputs=["text", gr.inputs.Image(type="file", label="Upload an image")], Traceback (most recent call last): File "/home/user/app/app.py", line 54, in <module> inputs=["text", gr.inputs.Image(type="file", label="Upload an image")], File "/home/user/.local/lib/python3.10/site-packages/gradio/inputs.py", line 252, in __init__ super().__init__( File "/home/user/.local/lib/python3.10/site-packages/gradio/components/image.py", line 124, in __init__ raise ValueError( ValueError: Invalid value for parameter `type`: file. Please choose from one of: ['numpy', 'pil', 'filepath']

Container logs:

Fetching error logs...