denis-kazakov commited on
Commit
9ab46d4
1 Parent(s): 7c3bb3f

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 [translated_text, (16000, synthesised_speech)]
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 = """