audio-reverse / app.py
dawood's picture
dawood HF staff
Update app.py
24e9dae
raw
history blame
284 Bytes
import numpy as np
import gradio as gr
def reverse_audio(audio):
sr, data = audio
return (sr, np.flipud(data))
mic = gr.Audio(source="microphone", type="numpy", label="Speak here...")
gr.Interface(reverse_audio, mic, "audio", css=".footer{display:none !important}").launch()