tonytz commited on
Commit
f725b52
1 Parent(s): 1921a11

Update app.py

Browse files

changing the audio speed rate

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ from gtts import gTTS
3
  import os
4
 
5
  def swahiliTTs(swahilitext):
6
- obj = gTTS(text=swahilitext, lang="sw", slow=False)
7
  obj.save("demo.mp3")
8
  return "demo.mp3"
9
 
 
3
  import os
4
 
5
  def swahiliTTs(swahilitext):
6
+ obj = gTTS(text=swahilitext, lang="sw", slow=True)
7
  obj.save("demo.mp3")
8
  return "demo.mp3"
9