mitro99 commited on
Commit
25fed09
·
verified ·
1 Parent(s): 146ee78

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
+ prin(translated_text)
38
  synthesised_speech = synthesise(translated_text)
39
  synthesised_speech = (synthesised_speech.numpy() * 32767).astype(np.int16)
40
  return 16000, synthesised_speech