Update app.py
Browse files
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, "
|
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")
|