Commit 7822dfa4 authored by Adam Blank's avatar Adam Blank
Browse files

Add new file

No related merge requests found
Showing with 7 additions and 0 deletions
+7 -0
from gtts import gTTS
import playsound
def play(script):
tts = gTTS(text=script, lang='en')
tts.save("sound.mp3")
playsound.playsound("sound.mp3")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment