Changed stt to parakeet — still experiemntal, though performance seems to be better

This commit is contained in:
2026-01-18 03:35:50 +02:00
parent 50e4f7a5f2
commit 0a8910fff8
10 changed files with 375 additions and 37 deletions

View File

@@ -9,13 +9,22 @@ RUN apt-get update && apt-get install -y \
python3-pip \
ffmpeg \
libsndfile1 \
sox \
libsox-dev \
libsox-fmt-all \
&& rm -rf /var/lib/apt/lists/*
# Copy requirements
COPY requirements.txt .
# Install Python dependencies
RUN pip3 install --no-cache-dir -r requirements.txt
# Upgrade pip to avoid dependency resolution issues
RUN pip3 install --upgrade pip
# Install dependencies for sox package (required by NeMo) in correct order
RUN pip3 install --no-cache-dir numpy==2.2.2 typing-extensions
# Install Python dependencies with legacy resolver (NeMo has complex dependencies)
RUN pip3 install --no-cache-dir --use-deprecated=legacy-resolver -r requirements.txt
# Copy application code
COPY . .