command) or ( 'in your free time' in self. command) or ( 'tell me something' in self. command) #function is from line 555Įlif ( 'your age' in self. #commands for opening youtube, playing a song in youtube, and download a song in youtube ![]() take_Command() #Every time taking command after a task is done talk( 'Hello boss I am jarvis your assistant. recognize_google( voice, language = 'en-in')Ĭommand1 = command1. listen( source, timeout = 4, phrase_time_limit = 7)Ĭommand1 = listener. #function that will take the commands to convert voice into text #Main classs where all the functiona are present ![]() id) #index '0' for 'David'(male) voice index '1' for 'zira'(female) voice #we will be using this for text to speech function.Įngine. #and sapi5 is Microsoft speech application platform interface #Set our engine to "Pyttsx3" which is used for text to speech in Python #_J.A.R.V.I.S_įrom PhoneNumer import Phonenumber_location_trackerįrom PyQt5 import QtWidgets, QtCore, QtGuiįrom PyQt5.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |