Update Jarvis2.py

This commit is contained in:
B.Jothin kumar authored and GitHub committed 2021-10-19 12:57:59 +05:30
1 parent dec66fcc8b
commit 98b2ffb06b
1 file changed
+1
+1
View File
@@ -78,6 +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'])
audio = r.listen(source)
print("Recognizing....")