Spaces:
Runtime error
Runtime error
Walterchamy
commited on
Commit
•
1d77d56
1
Parent(s):
7722289
Update app.py
Browse files
app.py
CHANGED
@@ -92,7 +92,7 @@ def generate_response(user_input):
|
|
92 |
|
93 |
def text_to_speech(text):
|
94 |
# Create a text-to-speech object
|
95 |
-
tts = gTTS(text=text, lang=('en'
|
96 |
# Save the audio file
|
97 |
tts.save('output.mp3')
|
98 |
|
|
|
92 |
|
93 |
def text_to_speech(text):
|
94 |
# Create a text-to-speech object
|
95 |
+
tts = gTTS(text=text, lang=('en'))
|
96 |
# Save the audio file
|
97 |
tts.save('output.mp3')
|
98 |
|