Update app.py
Browse files
app.py
CHANGED
@@ -44,7 +44,7 @@ def speech_to_speech_translation(audio):
|
|
44 |
print(translated_text)
|
45 |
synthesised_speech = synthesise(translated_text)
|
46 |
synthesised_speech = (synthesised_speech.numpy() * 32767).astype(np.int16)
|
47 |
-
return
|
48 |
|
49 |
|
50 |
title = "Cascaded STST"
|
|
|
44 |
print(translated_text)
|
45 |
synthesised_speech = synthesise(translated_text)
|
46 |
synthesised_speech = (synthesised_speech.numpy() * 32767).astype(np.int16)
|
47 |
+
return 16000, synthesised_speech.T
|
48 |
|
49 |
|
50 |
title = "Cascaded STST"
|