![]() Results = wikipedia.summary(query, sentences = 2) Print("i dont understand.") #for error handling ![]() Query = r.recognize_google(audio, language='en-in') Query1 = r.recognize_google(audio, language='en-in') Speak("hello, i am your virtual assistant") Speak("good afternoon, i am your virtual assistant") If hour >= 0 and hour = 12 and hour = 0 and hour = 12 and hour < 18: ![]() So I was making a virtual assistant in python in which the system gets activated when u call it by its name and then you can make it work according to what you say but it shows an error unindentation even though there isn't any here is the code where the error comes ACTIVATE = Falseĭef speak(audio): #here audio is var which contain text
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |