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
14 changes: 7 additions & 7 deletions Virtual___Assistant.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,13 @@ def respond(voice_data):
#4) time
if there_exists(["whats the time tell me the time"]):
time=ctime().split(" ")[3].split(":")[0:2]
if time[0]=="00":
hours='12'
else:
hours= time[0]
minutes=time[1]
time=hours+"hours and "+ minutes +"minutes"
engine_speak(time)
if time[0]=="00":
hours='12'
else:
hours= time[0]
minutes=time[1]
time=hours+"hours and "+ minutes +"minutes"
engine_speak(time)

#5) search goggle
if there_exists(["search for"]) and "youtube" not in voice_data:
Expand Down