Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -40,7 +40,7 @@ def process_text(input_text):
|
|
40 |
|
41 |
def generate_audio(input_text):
|
42 |
tts = process_text(input_text)
|
43 |
-
speech = gTTS(text=tts, lang='es', slow=False)
|
44 |
speech.save("gtts_out.mp3")
|
45 |
return "gtts_out.mp3"
|
46 |
|
|
|
40 |
|
41 |
def generate_audio(input_text):
|
42 |
tts = process_text(input_text)
|
43 |
+
speech = gTTS(text=tts, lang='es-ES', slow=False)
|
44 |
speech.save("gtts_out.mp3")
|
45 |
return "gtts_out.mp3"
|
46 |
|