Skip to content

Online Demo no longer working #24

@collinph

Description

@collinph

Online demo no longer working:
Error when loading:

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
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:

Failed to retrieve error logs: SSE is not enabled

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions