Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -17,8 +17,8 @@ def speechbrain(aud):
|
|
17 |
torchaudio.save('enhanced.wav', enhanced.cpu(), 16000)
|
18 |
return 'enhanced.wav'
|
19 |
|
20 |
-
inputs = gr.
|
21 |
-
outputs = gr.
|
22 |
title = "Speechbrain Speech Enhancement"
|
23 |
description = "Gradio demo for Speech enhancement with SpeechBrain. To use it, simply upload your audio, or click one of the examples to load them. Read more at the links below."
|
24 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2104.03538' target='_blank'>MetricGAN+: An Improved Version of MetricGAN for Speech Enhancement</a> | <a href='https://github.com/speechbrain/speechbrain' target='_blank'>Github Repo</a></p>"
|
|
|
17 |
torchaudio.save('enhanced.wav', enhanced.cpu(), 16000)
|
18 |
return 'enhanced.wav'
|
19 |
|
20 |
+
inputs = gr.Audio(label="Input Audio", type="filepath")
|
21 |
+
outputs = gr.Audio(label="Output Audio", type="filepath")
|
22 |
title = "Speechbrain Speech Enhancement"
|
23 |
description = "Gradio demo for Speech enhancement with SpeechBrain. To use it, simply upload your audio, or click one of the examples to load them. Read more at the links below."
|
24 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2104.03538' target='_blank'>MetricGAN+: An Improved Version of MetricGAN for Speech Enhancement</a> | <a href='https://github.com/speechbrain/speechbrain' target='_blank'>Github Repo</a></p>"
|