Spaces:
Runtime error
Runtime error
fix: type parameter of gradio audio object
Browse files
app.py
CHANGED
@@ -10,10 +10,10 @@ def speechbrain(aud):
|
|
10 |
torchaudio.save("source2hat.wav", est_sources[:, :, 1].detach().cpu(), 8000)
|
11 |
return "source1hat.wav", "source2hat.wav"
|
12 |
|
13 |
-
inputs = gr.inputs.Audio(label="Input Audio", type="
|
14 |
outputs = [
|
15 |
-
gr.outputs.Audio(label="Output Audio One", type="
|
16 |
-
gr.outputs.Audio(label="Output Audio Two", type="
|
17 |
]
|
18 |
|
19 |
title = "Speech Seperation"
|
|
|
10 |
torchaudio.save("source2hat.wav", est_sources[:, :, 1].detach().cpu(), 8000)
|
11 |
return "source1hat.wav", "source2hat.wav"
|
12 |
|
13 |
+
inputs = gr.inputs.Audio(label="Input Audio", type="filepath")type
|
14 |
outputs = [
|
15 |
+
gr.outputs.Audio(label="Output Audio One", type="filepath"),
|
16 |
+
gr.outputs.Audio(label="Output Audio Two", type="filepath")
|
17 |
]
|
18 |
|
19 |
title = "Speech Seperation"
|