Update Jarvis2.py
This commit is contained in:
parent
756a2fa5cd
commit
acf7393694
@ -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....")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user