gradio-app/gradio

Audio path none on longer audio recording

Opened this issue · 0 comments

Describe the bug

I have deployed gradio application in docker. I am using gr.audio component.

gr.Audio(sources=["microphone", "upload"], type="filepath", 
                                 format="mp3", show_download_button=True)

And I have a change event

audio.change(fn=self.audio_change, inputs=[audio, note_format, label_speakers], 
                         outputs=[note_text, transcript_text])

When I do a short recording of ~5 s, there is no issue. When I do a longer recording of ~ 10s or more, I get "WARNING: No audio file path provided". Then after that my app crashes.

I am running this on Google Chrome. I also tried it on Safari and Firefox
Screenshot 2024-05-09 at 12 38 37 AM
.

Have you searched existing issues? 🔎

  • I have searched and found no existing issues

Reproduction

import gradio as gr

I can't provide the reproduction steps as it part of a bigger application deployed on docker.

Screenshot

No response

Logs

No response

System Info

gradio==4.29.0 
gradio-client==0.15.1

Severity

Blocking usage of gradio