Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
|
| 3 |
+
def process_audio(audio_file):
|
| 4 |
+
# Your audio processing code here
|
| 5 |
+
return audio_file
|
| 6 |
+
|
| 7 |
+
iface = gr.Interface(
|
| 8 |
+
fn=process_audio,
|
| 9 |
+
inputs=gr.Audio(type="filepath"),
|
| 10 |
+
outputs="audio"
|
| 11 |
+
)
|
| 12 |
+
|
| 13 |
+
iface.launch()
|