Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -64,7 +64,10 @@ def transcribe_audio(audio):
|
|
64 |
)
|
65 |
result = result[1]
|
66 |
result = result[0][1]
|
67 |
-
result=gr.Markdown(result)
|
|
|
|
|
|
|
68 |
return result
|
69 |
#text = update(text)
|
70 |
#return text
|
|
|
64 |
)
|
65 |
result = result[1]
|
66 |
result = result[0][1]
|
67 |
+
result=gr.Markdown(result)
|
68 |
+
tts = gTTS(text=result, lang='de')
|
69 |
+
tts.save("./chroma/output.mp3")
|
70 |
+
os.system("start ./chroma/output.mp3") # Dies spielt die Audiodatei ab
|
71 |
return result
|
72 |
#text = update(text)
|
73 |
#return text
|