Spaces:
Sleeping
Sleeping
Create app.py
Browse files
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()
|