cotxetj commited on
Commit
a426fc1
1 Parent(s): d11d590

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ def speech_to_speech_translation(audio):
42
  synthesised_speech = synthesise(translated_text)
43
  synthesised_speech = (
44
  synthesised_speech.numpy() * 32767).astype(np.int16)
45
- return [16000, synthesised_speech]
46
 
47
  def predict(transType, language, audio, audio_mic = None):
48
  print("debug1:", audio,"debug2", audio_mic)
 
42
  synthesised_speech = synthesise(translated_text)
43
  synthesised_speech = (
44
  synthesised_speech.numpy() * 32767).astype(np.int16)
45
+ return (16000, synthesised_speech)
46
 
47
  def predict(transType, language, audio, audio_mic = None):
48
  print("debug1:", audio,"debug2", audio_mic)