File size: 348 Bytes
4c5bd43 8821cd7 a788f19 8821cd7 a788f19 8821cd7 4c5bd43 91d0854 8821cd7 c0adb65 4c5bd43 221a891 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
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()
|