diff --git a/voice.py b/voice.py index b71c68d..451d37e 100644 --- a/voice.py +++ b/voice.py @@ -59,7 +59,11 @@ _vad = None def _get_vad(): global _vad if _vad is None: - _vad = silero.VAD.load() + _vad = silero.VAD.load( + activation_threshold=0.75, + min_speech_duration=0.2, + min_silence_duration=0.55, + ) return _vad def _make_lk_identity(user_id, device_id):