audio-share / app.py
hysts's picture
hysts HF Staff
Update
855e072
raw
history blame contribute delete
221 Bytes
#!/usr/bin/env python
import gradio as gr
with gr.Blocks() as demo:
audio = gr.Audio()
btn = gr.Button()
audio2 = gr.Audio()
btn.click(fn=lambda x: x, inputs=audio, outputs=audio2)
demo.queue().launch()