drewThomasson
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ def denoise_audio(audio):
|
|
22 |
# Gradio interface
|
23 |
iface = gr.Interface(
|
24 |
fn=denoise_audio,
|
25 |
-
inputs=gr.Audio(
|
26 |
outputs="file",
|
27 |
title="DeepFilterNet Audio Denoising",
|
28 |
description="Upload an audio file to remove noise using DeepFilterNet."
|
|
|
22 |
# Gradio interface
|
23 |
iface = gr.Interface(
|
24 |
fn=denoise_audio,
|
25 |
+
inputs=gr.Audio(type="filepath"), # Remove 'source' argument
|
26 |
outputs="file",
|
27 |
title="DeepFilterNet Audio Denoising",
|
28 |
description="Upload an audio file to remove noise using DeepFilterNet."
|