save code

This commit is contained in:
xsl
2026-03-29 23:01:39 +08:00
parent 36e838caec
commit 4dcae11c1b
30 changed files with 1094 additions and 203 deletions
+3 -3
View File
@@ -21,10 +21,10 @@ class VADService:
self._model = load_silero_vad()
self._iterator = VADIterator(
self._model,
threshold=0.5,
threshold=0.65,
sampling_rate=16000,
min_silence_duration_ms=300,
speech_pad_ms=30,
min_silence_duration_ms=450,
speech_pad_ms=80,
)
self._ready = True
except Exception as exc: # pragma: no cover