rbarman commited on
Commit
a9a08b4
1 Parent(s): fd4178f

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -0
app.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def get_audio(audio_path):
4
+ print(f"{audio_path=}")
5
+ return audio_path
6
+
7
+ iface = gr.Interface(
8
+ fn=get_audio,
9
+ inputs=[gr.Audio(type="filepath")],
10
+ outputs=[gr.Audio(type="filepath")]
11
+ ).launch()
12
+ iface.launch()