mirror of
https://github.com/Dasemu/DesktopAssistant.git
synced 2026-11-26 15:26:28 +00:00
Update Jarvis2.py
This commit is contained in:
1 parent
fe1aec2388
commit
e4f8310a33
1 file changed
+4
-1
+4
-1
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user