Spaces Hugging Face's logo
siyangyuan
/
Runtime error

runtime error

it has no effect input_image = inputs.File(label="Input image") /home/user/app/app.py:827: GradioDeprecationWarning: Usage of gradio.inputs is deprecated, and will not be supported in the future, please import your component from gradio.components half_precision = inputs.Checkbox( /home/user/app/app.py:827: GradioDeprecationWarning: `optional` parameter is deprecated, and it has no effect half_precision = inputs.Checkbox( /home/user/app/app.py:830: GradioDeprecationWarning: Usage of gradio.inputs is deprecated, and will not be supported in the future, please import your component from gradio.components model_weight = inputs.Dropdown( /home/user/app/app.py:830: GradioDeprecationWarning: `optional` parameter is deprecated, and it has no effect model_weight = inputs.Dropdown( /home/user/app/app.py:832: GradioDeprecationWarning: Usage of gradio.inputs is deprecated, and will not be supported in the future, please import your component from gradio.components tile_mode = inputs.Radio( /home/user/app/app.py:832: GradioDeprecationWarning: `optional` parameter is deprecated, and it has no effect tile_mode = inputs.Radio( /home/user/app/app.py:835: GradioDeprecationWarning: Usage of gradio.outputs is deprecated, and will not be supported in the future, please import your components from gradio.components output_image = outputs.Image(label="Output image preview") Traceback (most recent call last): File "/home/user/app/app.py", line 835, in <module> output_image = outputs.Image(label="Output image preview") File "/home/user/.local/lib/python3.10/site-packages/gradio/blocks.py", line 114, in wrapper return fn(self, **kwargs) File "/home/user/.local/lib/python3.10/site-packages/gradio/outputs.py", line 51, in __init__ super().__init__(type=type, label=label) 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`: auto. Please choose from one of: ['numpy', 'pil', 'filepath']

Container logs:

Fetching error logs...