Stopwolf commited on
Commit
a57914c
1 Parent(s): 372d03e

Update app.py

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