fix: Silero VAD model download

This commit is contained in:
Sabiha Khan 2025-11-13 09:52:38 +05:30
parent 3d69d7bd4f
commit efc8337020

View file

@ -21,6 +21,8 @@ RUN pip install --user --no-cache-dir -r requirements.txt && \
# Copy and install pipecat from local submodule
COPY pipecat /tmp/pipecat
RUN pip install --user --no-cache-dir '/tmp/pipecat[cartesia,deepgram,openai,elevenlabs,groq,google,azure,soundfile,silero,webrtc]' && \
# Force Silero VAD model download during build
python -c "from pipecat.audio.vad.silero import SileroVADAnalyzer; SileroVADAnalyzer()" && \
# Clean up pip cache and temporary pipecat directory
rm -rf /root/.cache/pip /tmp/pipecat