NoteBot / text_to_speech.py
I-AdityaGoyal's picture
Upload 8 files
1272fb9 verified
raw
history blame contribute delete
117 Bytes
import pyttsx3
def speak_text(text):
engine = pyttsx3.init()
engine.say(text)
engine.runAndWait()