Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -47,7 +47,7 @@ def speech_to_speech_translation(audio):
|
|
47 |
synthesised_speech = (synthesised_speech.numpy() * max_range).astype(np.int16)
|
48 |
print("sampling_rate",sampling_rate)
|
49 |
print("synthesised_speech",synthesised_speech)
|
50 |
-
return sampling_rate, synthesised_speech
|
51 |
|
52 |
|
53 |
title = "Cascaded STST"
|
|
|
47 |
synthesised_speech = (synthesised_speech.numpy() * max_range).astype(np.int16)
|
48 |
print("sampling_rate",sampling_rate)
|
49 |
print("synthesised_speech",synthesised_speech)
|
50 |
+
return sampling_rate, synthesised_speech.T
|
51 |
|
52 |
|
53 |
title = "Cascaded STST"
|