Kevin676 commited on
Commit
38494b6
1 Parent(s): d997a1f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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.inputs.Audio(label="Input Audio", type="file")
21
- outputs = gr.outputs.Audio(label="Output Audio", type="file")
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>"