Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -11,9 +11,9 @@ def transcribe_audio(audio,language):
|
|
11 |
transcribed = pipe(audio)["text"]
|
12 |
result = "Transcribed text\n"
|
13 |
result += transcribed + "\n"
|
14 |
-
result += "Translated text\n"
|
15 |
-
trans_text = translate_audio(transcribed,language)
|
16 |
-
result += trans_text
|
17 |
#text_to_speech(trans_text,language)
|
18 |
#result += text_to_speech
|
19 |
return result
|
|
|
11 |
transcribed = pipe(audio)["text"]
|
12 |
result = "Transcribed text\n"
|
13 |
result += transcribed + "\n"
|
14 |
+
#result += "Translated text\n"
|
15 |
+
#trans_text = translate_audio(transcribed,language)
|
16 |
+
#result += trans_text
|
17 |
#text_to_speech(trans_text,language)
|
18 |
#result += text_to_speech
|
19 |
return result
|