import gradio as gr def process_audio(audio): """ Simply returns the audio data for download. """ return audio iface = gr.Interface( fn=process_audio, inputs="audio", outputs="audio", title="Simple Audio Recorder", description="Record your speech and download the recording in a wav format." ) iface.launch()