Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion final jarvis.py
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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)

Expand Down