Update Jarvis2.py
This commit is contained in:
parent
fe1aec2388
commit
e4f8310a33
@ -79,7 +79,10 @@ def take_command():
|
|||||||
print("Listening....")
|
print("Listening....")
|
||||||
r.pause_threshold = 0.5
|
r.pause_threshold = 0.5
|
||||||
r.energy_threshold = 300
|
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)
|
audio = r.listen(source)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user