rayl-aoit commited on
Commit
7909723
1 Parent(s): d0aa8cd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -83,7 +83,7 @@ def gen_speech(text):
83
  def start_process(audio_filepath):
84
  transcription = gen_text(audio_filepath, "asr")
85
  print("Done transcribing")
86
- translation = gen_text(audio_filepath, "ast")
87
  print("Done translation")
88
  audio_output_filepath = gen_speech(transcription)
89
  print("Done speaking")
 
83
  def start_process(audio_filepath):
84
  transcription = gen_text(audio_filepath, "asr")
85
  print("Done transcribing")
86
+ translation = gen_text(audio_filepath, "s2t_translation")
87
  print("Done translation")
88
  audio_output_filepath = gen_speech(transcription)
89
  print("Done speaking")