Walterchamy commited on
Commit
a1f9dbd
1 Parent(s): b984ab4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -102,7 +102,7 @@ if __name__ == '__main__':
102
 
103
  def text_to_speech(text):
104
  # Create a text-to-speech object
105
- tts = gTTS(text=text, lang='en','sw')
106
  # Save the audio file
107
  tts.save('output.mp3')
108
 
 
102
 
103
  def text_to_speech(text):
104
  # Create a text-to-speech object
105
+ tts = gTTS(text=text, lang=('en','sw'))
106
  # Save the audio file
107
  tts.save('output.mp3')
108