Skip to content

Recent change in Gradio's API #2

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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