runtime error

gradio.inputs is deprecated, and will not be supported in the future, please import your component from gradio.components gr.inputs.Slider(minimum=10, maximum=100, step=1, default=50, label="Zoom Image " /home/user/app/app.py:157: GradioDeprecationWarning: `optional` parameter is deprecated, and it has no effect gr.inputs.Slider(minimum=10, maximum=100, step=1, default=50, label="Zoom Image " /home/user/app/app.py:160: GradioDeprecationWarning: Usage of gradio.inputs is deprecated, and will not be supported in the future, please import your component from gradio.components gr.inputs.Slider(minimum=0, maximum=100, step=1, label="Zoom horizontal shift " /home/user/app/app.py:160: GradioDeprecationWarning: `optional` parameter is deprecated, and it has no effect gr.inputs.Slider(minimum=0, maximum=100, step=1, label="Zoom horizontal shift " /home/user/app/app.py:162: GradioDeprecationWarning: Usage of gradio.inputs is deprecated, and will not be supported in the future, please import your component from gradio.components gr.inputs.Slider(minimum=0, maximum=100, step=1, label="Zoom vertical shift " /home/user/app/app.py:162: GradioDeprecationWarning: `optional` parameter is deprecated, and it has no effect gr.inputs.Slider(minimum=0, maximum=100, step=1, label="Zoom vertical shift " /home/user/app/app.py:165: GradioDeprecationWarning: Usage of gradio.outputs is deprecated, and will not be supported in the future, please import your components from gradio.components outputs = [gr.outputs.Image(label="Result"), Traceback (most recent call last): File "/home/user/app/app.py", line 165, in <module> outputs = [gr.outputs.Image(label="Result"), File "/usr/local/lib/python3.10/site-packages/gradio/outputs.py", line 51, in __init__ super().__init__(type=type, label=label) File "/usr/local/lib/python3.10/site-packages/gradio/components/image.py", line 116, in __init__ raise ValueError( ValueError: Invalid value for parameter `type`: auto. Please choose from one of: ['numpy', 'pil', 'filepath']

Container logs:

Fetching error logs...