denis-kazakov
commited on
Commit
•
9ab46d4
1
Parent(s):
7c3bb3f
Upload app.py
Browse files
app.py
CHANGED
@@ -29,7 +29,7 @@ def speech_to_speech_translation(audio):
|
|
29 |
translated_text = translate(audio)
|
30 |
synthesised_speech = synthesise(translated_text)
|
31 |
synthesised_speech = (synthesised_speech.numpy() * max_range).astype(np.int16)
|
32 |
-
return
|
33 |
|
34 |
title = "Cascaded STST"
|
35 |
description = """
|
|
|
29 |
translated_text = translate(audio)
|
30 |
synthesised_speech = synthesise(translated_text)
|
31 |
synthesised_speech = (synthesised_speech.numpy() * max_range).astype(np.int16)
|
32 |
+
return 16000, synthesised_speech
|
33 |
|
34 |
title = "Cascaded STST"
|
35 |
description = """
|