diff --git a/CHANGELOG.md b/CHANGELOG.md index 67803cc72..f6bc51111 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to **pipecat** will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] + +### Fixed + +- Fixed SileroVAD frame processor. + ## [0.0.24] - 2024-05-29 ### Added diff --git a/src/pipecat/vad/silero.py b/src/pipecat/vad/silero.py index ab7cf36df..78ea4f9b7 100644 --- a/src/pipecat/vad/silero.py +++ b/src/pipecat/vad/silero.py @@ -37,8 +37,6 @@ class SileroVADAnalyzer(VADAnalyzer): repo_or_dir="snakers4/silero-vad", model="silero_vad", force_reload=False ) - self._processor_vad_state: VADState = VADState.QUIET - logger.debug("Loaded Silero VAD") # @@ -73,6 +71,8 @@ class SileroVAD(FrameProcessor): self._vad_analyzer = SileroVADAnalyzer(sample_rate=sample_rate, params=vad_params) self._audio_passthrough = audio_passthrough + self._processor_vad_state: VADState = VADState.QUIET + # # FrameProcessor #