From acf73936944cbdc2ba4dca6380ac1fa43ae60484 Mon Sep 17 00:00:00 2001 From: "B.Jothin kumar" Date: Tue, 19 Oct 2021 14:43:57 +0530 Subject: [PATCH] Update Jarvis2.py --- Jarvis2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jarvis2.py b/Jarvis2.py index f21f87c..2313189 100755 --- a/Jarvis2.py +++ b/Jarvis2.py @@ -78,7 +78,7 @@ def take_command(): with sr.Microphone() as source: print("Listening....") r.pause_threshold = 0.5 - r.energy_threshold = int(config['DEFAULT']['energy_threshold']) + r.energy_threshold = 300 # The default value as per speech_recognition documentation. Increase if application stops responding. audio = r.listen(source) print("Recognizing....")