Created
January 23, 2022 08:53
-
-
Save Eeman1113/7373e3a3f223442b2d59d33cd4b03b96 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def speak(r): | |
language='en' | |
text1=str(r) | |
myobj = gTTS(text=text1, lang=language, slow=False) | |
myobj.save("DEW/voice.mp3") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment