Spaces:
Running
Running
Update app.py
Browse files
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 |
-
t1 =
|
27 |
-
t2 =
|
28 |
output = t1+t2
|
29 |
return output #transcription["text"]
|
30 |
|
|
|
23 |
elif inputlang == "German":
|
24 |
transcription = asr_pipe_audio2Text_Ge(audio_path)
|
25 |
translation = translateAudio(audio_path)
|
26 |
+
t1 = transcription["text"]
|
27 |
+
t2 = translation["text"]
|
28 |
output = t1+t2
|
29 |
return output #transcription["text"]
|
30 |
|