1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-11-27 16:16:48 +03:00

feat(python tcp server): decrease throttling to 0.3s on ASR speech

This commit is contained in:
louistiti 2024-05-24 18:40:44 +08:00
parent 2fac3881eb
commit c18458ac41
No known key found for this signature in database
GPG Key ID: 92CD6A2E497E1669

View File

@ -44,7 +44,7 @@ class ASR:
The callback is called at most once every x seconds
"""
self.throttled_wake_word_or_active_listening_callback = ThrottledCallback(
wake_word_or_active_listening_callback, 0.5
wake_word_or_active_listening_callback, 0.3
)
self.end_of_owner_speech_callback = end_of_owner_speech_callback