Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ def synthesise(text):
|
|
34 |
with torch.no_grad():
|
35 |
outputs = spanish_model(input_ids)
|
36 |
speech = outputs.waveform
|
37 |
-
return speech.cpu()
|
38 |
|
39 |
|
40 |
|
|
|
34 |
with torch.no_grad():
|
35 |
outputs = spanish_model(input_ids)
|
36 |
speech = outputs.waveform
|
37 |
+
return speech.cpu()[0]
|
38 |
|
39 |
|
40 |
|