mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-07 07:55:16 +02:00
fix: Silero VAD model download
This commit is contained in:
parent
3d69d7bd4f
commit
efc8337020
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue