From 059ac281b5f2542066746c8a146cb23e3a59b9f0 Mon Sep 17 00:00:00 2001 From: Dhananjay Dogne <111991487+DhananjayDogne@users.noreply.github.com> Date: Tue, 14 Feb 2023 20:42:53 +0530 Subject: [PATCH] Update Virtual___Assistant.py --- Virtual___Assistant.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Virtual___Assistant.py b/Virtual___Assistant.py index b220e93..64bf290 100644 --- a/Virtual___Assistant.py +++ b/Virtual___Assistant.py @@ -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: