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

Automatically provide the Client code to reconstruct user interaction in a Gradio app #7128

Closed
abidlabs opened this issue Jan 23, 2024 · 1 comment · Fixed by #7850
Closed
Assignees
Labels
enhancement New feature or request gradio_client Related to the one of the gradio client libraries needs designing The proposed feature needs to be discussed and designed before being implemented

Comments

@abidlabs
Copy link
Member

abidlabs commented Jan 23, 2024

As mentioned here, the request is to make it possible to automatically convert user interaction in a Gradio app to code using the Clients:

Gradio could help by automatically providing the API call for performing a specific action (which often involves manipulating multiple text boxes

@abidlabs abidlabs added enhancement New feature or request gradio_client Related to the one of the gradio client libraries labels Jan 23, 2024
@artificialguybr
Copy link

Yes. Exactly that. It would be very interesting.

You would act as if you were doing a workflow/action normally using Gradio. And maybe it could show in the console or network f12 how to execute that exact workflow/action using the gradio_client api directly without the need to open the GUI. We have similar things on Replicate, ComfyUI Workflow...

Often the actions are quite complex involving dozens of different buttons, selections. This would make it especially easy for laymen and not hard-devs.

@abidlabs abidlabs changed the title Provide Client code to make it possible to reconstruct user interaction in a Gradio app Automatically provid ethe Client code to reconstruct user interaction in a Gradio app Jan 24, 2024
@abidlabs abidlabs changed the title Automatically provid ethe Client code to reconstruct user interaction in a Gradio app Automatically provide the Client code to reconstruct user interaction in a Gradio app Jan 24, 2024
@abidlabs abidlabs added the needs designing The proposed feature needs to be discussed and designed before being implemented label Feb 7, 2024
@abidlabs abidlabs self-assigned this Mar 15, 2024
@abidlabs abidlabs added this to the Clients 1.0 📡 milestone Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request gradio_client Related to the one of the gradio client libraries needs designing The proposed feature needs to be discussed and designed before being implemented
Projects
None yet
2 participants