From bc8897843d1d6bcfc12a4750d32e95c37ba4e574 Mon Sep 17 00:00:00 2001 From: Mathieu Date: Sat, 28 Aug 2021 16:13:47 +0200 Subject: [PATCH] added msg "listening" --- jarvis/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/jarvis/main.py b/jarvis/main.py index 1834068..1700529 100644 --- a/jarvis/main.py +++ b/jarvis/main.py @@ -45,6 +45,7 @@ def record(): r.adjust_for_ambient_noise(source=source, duration=0.7) try: + print("Listening...") audio = r.listen(source, timeout=2, phrase_time_limit=5) except sr.WaitTimeoutError: print("Sentence timeout")