Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import os
|
|
4 |
|
5 |
def text_to_audio(text):
|
6 |
# Generate audio from text using gTTS
|
7 |
-
tts = gTTS(text=text, lang='
|
8 |
tts.save("test.wav")
|
9 |
return 'test.wav'
|
10 |
|
|
|
4 |
|
5 |
def text_to_audio(text):
|
6 |
# Generate audio from text using gTTS
|
7 |
+
tts = gTTS(text=text, lang='ru', tld="co.in",slow=False)
|
8 |
tts.save("test.wav")
|
9 |
return 'test.wav'
|
10 |
|