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
12 changes: 12 additions & 0 deletions JARVIS/JARVIS.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,18 @@
Query = r.recognize_google(audio, language = 'en-IN', show_all = True )
print(Query)

# he/she wish me
def wishMe():
hour = int(datetime.datetime.now().hour)
if hour>= 0 and hour<12:
speak("Good Morning Sir !")

elif hour>= 12 and hour<18:
speak("Good Afternoon Sir !")

else:
speak("Good Evening Sir !")


# Run Application with Voice Command Function
def get_app(Q):
Expand Down