mitro99 commited on
Commit
fc47a82
1 Parent(s): 181bbff

Update app.py

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