timjwhite commited on
Commit
f5ea4f3
·
1 Parent(s): 22538d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -34,6 +34,7 @@ def synthesise(text):
34
 
35
  def speech_to_speech_translation(audio):
36
  translated_text = translate(audio)
 
37
  synthesised_speech = synthesise(translated_text)
38
  synthesised_speech = (synthesised_speech.numpy() * 32767).astype(np.int16)
39
  return 16000, synthesised_speech
 
34
 
35
  def speech_to_speech_translation(audio):
36
  translated_text = translate(audio)
37
+ print(translated_text)
38
  synthesised_speech = synthesise(translated_text)
39
  synthesised_speech = (synthesised_speech.numpy() * 32767).astype(np.int16)
40
  return 16000, synthesised_speech