Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ def enhance_speech(audio):
|
|
28 |
# Set up the Gradio interface
|
29 |
iface = gr.Interface(
|
30 |
fn=enhance_speech,
|
31 |
-
inputs=gr.Audio(
|
32 |
outputs=gr.Audio(type="filepath"),
|
33 |
title="Speech Enhancement",
|
34 |
description="Upload a noisy audio file to enhance it using MetricGAN."
|
|
|
28 |
# Set up the Gradio interface
|
29 |
iface = gr.Interface(
|
30 |
fn=enhance_speech,
|
31 |
+
inputs=gr.Audio(type="filepath"), # Removed 'source' argument
|
32 |
outputs=gr.Audio(type="filepath"),
|
33 |
title="Speech Enhancement",
|
34 |
description="Upload a noisy audio file to enhance it using MetricGAN."
|