gradio-app / gradio

Build and share delightful machine learning apps, all in Python. 🌟 Star to support our work!
http://www.gradio.app
Apache License 2.0
33.41k stars 2.52k forks source link

is there any way to change the microphone component to allow clients to pause and then resume recordings? #5720

Closed cowanAI closed 11 months ago

cowanAI commented 1 year ago

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Additional context
Add any other context or screenshots about the feature request here.

abidlabs commented 1 year ago

Not currently, but we are redesigning the gr.Audio component and I think this would be nice to include if not too much work. wdyt @hannahblair?

cowanAI commented 1 year ago

Happy to send $300 usd right now to Hannah or to the gradio project if this is possible, I know it’s not a lot but anything I can do to help let me know.

On Thu, Sep 28, 2023 at 5:06 AM Abubakar Abid @.***> wrote:

Not currently, but we are redesigning the gr.Audio component and I think this would be nice to include if not too much work. wdyt @hannahblair https://github.com/hannahblair?

— Reply to this email directly, view it on GitHub https://github.com/gradio-app/gradio/issues/5720#issuecomment-1738370739, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6RIPFDXA7RD7SPN7FOTYCTX4TSTTANCNFSM6AAAAAA5KCQCIM . You are receiving this because you authored the thread.Message ID: @.***>

abidlabs commented 1 year ago

Well thanks @cowanAI for the generous offer, but maintaining gradio is part of our jobs :)

We'll see what @hannahblair thinks when she's online.

By the way we're working on making it possible for Gradio users to create their own custom components -- meaning that you'll be able to take an existing Gradio component and clone it, modify the backend or the frontend, and use it in your Gradio apps. This might help with these kinds of feature requests in the future!

cowanAI commented 1 year ago

Awesome @abidlabs , extremely grateful at the gradio support, I know gradio is designed for prototype uses but my last question, do you know if in the roadmap you guys have planned to support user login and session/output storage, i.e. the user logins and has access to it's own outputs? if you had any documentation or if this is not possible it would be great to know, and any way we can support the gradio team just let us know, we are happy for your help!!

abidlabs commented 1 year ago

Are you running on Hugging Face Spaces? We actually just released experimental support for users on HF: https://huggingface.co/docs/hub/spaces-oauth

cc @Wauplin

Wauplin commented 1 year ago

@cowanAI definitely a use case meant to be supported yes! As @abidlabs shared, "Sign in with Hugging Face" button is already available when running on Spaces. Meaning you can handle user sessions & cie. Here is a user-history feature I have being working on: https://huggingface.co/spaces/Wauplin/gradio-user-history/blob/main/README.md

cowanAI commented 1 year ago

@abidlabs @Wauplin wow that user history looks amazing! is there any way to instead of utilizing hugging face sign in I could use cognito or my own authentication with your user history plugin @Wauplin ? so far this is an incredible progress of the gradio interface not being a simple prototyping tool anymore!

Wauplin commented 1 year ago

@cowanAI no it's not possible. The user history plugin is built on top of Gradio OAuth that is currently only working on Spaces with HF sign in. I don't think adding other auth providers is in the short-term roadmap.