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.88k stars 2.57k forks source link

Add option to use default <audio> tag #8267

Closed fakerybakery closed 1 week ago

fakerybakery commented 6 months ago

Hi, in old versions of Gradio there was no custom audio component and it used the built-in HTML audio element. The new component is amazing most of the time but for certain use cases it would be nice to have the built-in audio element back. Is there any way to do that, besides downgrading? Thanks!

pngwn commented 6 months ago

What about the current audio element doesn't work for you? Is it the size?

fakerybakery commented 6 months ago

That, and I want the user to be able to skip to any part of the audio file without horizontal scrolling

pngwn commented 6 months ago

I see. Maybe we could create a minimal variant that better matches the old UX (but looks nicer).

Cc @hannahblair

hannahblair commented 6 months ago

@fakerybakery Duly noted! Will have a think about how to implement this.

abidlabs commented 6 months ago

This should solve this, right? https://github.com/gradio-app/gradio/issues/6801

fakerybakery commented 6 months ago

I was more looking for a way to allow the user to skip anywhere in a longer audio file without having to horizontally scroll

abidlabs commented 1 week ago

Should be solved when https://github.com/gradio-app/gradio/issues/6801 is addressed