Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recent change in Gradio's API #2

Open
Madusalves opened this issue May 6, 2024 · 0 comments
Open

Recent change in Gradio's API #2

Madusalves opened this issue May 6, 2024 · 0 comments

Comments

@Madusalves
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant