Closed idarous4 closed 6 months ago
Hi! Thanks for your question. It seems that providing support for both of them requires some toggling feature which I will look into later. But in the meantime, it seems you might have to change microphone
to upload
instead.
Please see this link for reference: https://www.gradio.app/docs/audio
Is it possible to switch from recording audio to uploading audio in the demo? I tried changing gr.Audio(sources=["microphone"]) to gr.File() in the demo script. While I can upload audio successfully, it doesn't display anything afterward. Can this be resolved?