Update app.py
Browse files
app.py
CHANGED
|
@@ -50,7 +50,8 @@ def predict(temp_text, temp_audio, text):
|
|
| 50 |
with torch.no_grad():
|
| 51 |
speech = vocoder(spectrogram)
|
| 52 |
|
| 53 |
-
return
|
|
|
|
| 54 |
|
| 55 |
|
| 56 |
gr.Interface(
|
|
|
|
| 50 |
with torch.no_grad():
|
| 51 |
speech = vocoder(spectrogram)
|
| 52 |
|
| 53 |
+
return speech.numpy()
|
| 54 |
+
|
| 55 |
|
| 56 |
|
| 57 |
gr.Interface(
|