rdlf commited on
Commit
4010d18
·
verified ·
1 Parent(s): d8d80a8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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