-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
missing download button for gr.components.Audio #7088
Comments
It seems like there may have been a regression here, cc @hannahblair? |
@abidlabs This isn't a regression - the download button only shows for static image components. I think this is the case for a couple other components e.g. ImageEditor, Video. We should change this - either by allowing interactive components to have a download button or documenting this better. WDYT? |
Ah thanks for clarifying @hannahblair. Is it feasible to add the download button to the interactive Audio component? I think its useful as in some cases, an interactive Audio component may serve as both an input and an output, and so it would make sense for a user to be able to download the audio even if |
@abidlabs I'd agree! It's feasible. Shall we add this to the other components for consistency? |
Let's do it |
thanks a lot. it is also useful when a user records an audio with their mic, and simply wants to download the audio. |
Describe the bug
their should be a download button in my Audio component
but I can't see it anywhere, neither on Safari or Chrome, neither when I upload a mp3 nor when I record from my microphone.
it is important that users are able to download their mic recording.
my version of gradio is 4.12.0
the PR "Add download button for audio #4977" should have solved this but it seems it doesn't work.
Have you searched existing issues? 🔎
Reproduction
audio = gr.components.Audio(
label="Upload an audio"
type="filepath",
visible=True,
interactive=True,
show_download_button=True,
)
Screenshot
Logs
No response
System Info
Severity
I can work around it
The text was updated successfully, but these errors were encountered: