Tlanextli commited on
Commit
080cd23
·
1 Parent(s): 7d8fc01

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -23,8 +23,8 @@ def transcribeFileMulti(inputlang, audio_path : str) -> str:
23
  elif inputlang == "German":
24
  transcription = asr_pipe_audio2Text_Ge(audio_path)
25
  translation = translateAudio(audio_path)
26
- output = str(transcription["text"]) + str(translation["text"])
27
- return output #transcription["text"]
28
 
29
 
30
 
 
23
  elif inputlang == "German":
24
  transcription = asr_pipe_audio2Text_Ge(audio_path)
25
  translation = translateAudio(audio_path)
26
+ #output = str(transcription["text"]) + str(translation["text"])
27
+ return transcription["text"] translation["text"]
28
 
29
 
30