Please if you like my content Please do not forget to support this channel on PayPal now for $1 only! Or less
import speech_recognition as sr
import pyttsx3
r = sr.Recognizer()
def SpeakText(command):
# Initialize the engine
engine = pyttsx3.init()
engine.say(command)
engine.runAndWait()
texting = input("Write something ")
SpeakText(texting)
No comments:
Post a Comment