Update Jarvis2.py

This commit is contained in:
B.Jothin kumar 2021-10-19 15:37:20 +05:30 committed by GitHub
parent fe1aec2388
commit e4f8310a33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,7 +79,10 @@ def take_command():
print("Listening....")
r.pause_threshold = 0.5
r.energy_threshold = 300
# The default value as per speech_recognition documentation. Increase if application stops responding.
"""The default value as per speech_recognition documentation.
Increase if application stops responding. and decrease if
assistant doesn't execute any command and just says next
command sir."""
audio = r.listen(source)