From c289a0f1b8e94a8735d11a19d58f7f9a1aa84379 Mon Sep 17 00:00:00 2001 From: kirito22037 Date: Tue, 8 Oct 2019 00:24:13 +0530 Subject: [PATCH] commentt are added --- final jarvis.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/final jarvis.py b/final jarvis.py index 67b1f43..5cd567f 100644 --- a/final jarvis.py +++ b/final jarvis.py @@ -1,4 +1,4 @@ - +# here various libraries are imported , we have to download these libraries to use them otherwise it wont work import pyttsx3 import datetime import speech_recognition as sr @@ -11,10 +11,12 @@ voices = engine.getProperty('voices') engine.setProperty('voice',voices[1].id) +#here a function is made for user input speech def speak(audio): engine.say(audio) engine.runAndWait() +#this is used for program speech output def wishme(): hour = int(datetime.datetime.now().hour)