recorder / app.py
MK-316's picture
Update app.py
c0adb65 verified
raw
history blame contribute delete
348 Bytes
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()