JARVIS speaking

Import Pyttsx3 
Engine=pyttsx3.Init('sapi5') 
Voices=Engine.getProperty('voices') 
Engine.setProperty('voice',voices[0],I'd) 

def speak(audio):
Engine.say(audio)
Engine.runAndwait()

If_name_=="_main_":
Speak("HI")

Comments