Changed stt to parakeet — still experiemntal, though performance seems to be better
This commit is contained in:
@@ -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 . .
|
||||
|
||||
Reference in New Issue
Block a user