Skip to content

Recent change in Gradio's API #2

@Madusalves

Description

@Madusalves

image

The error encountering is due to a recent change in Gradio's API. Previously, gradio.inputs and gradio.outputs were used to define inputs and outputs for Gradio interfaces. However, they have been deprecated in favor of more concise syntax.

The fix provided updates the code to use the new and correct way of defining the interface components using gr.Textbox directly. This is like taking a different route that Gradio understands.

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