Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
rainmanjam committed Aug 27, 2024
1 parent 5bcd2f3 commit 7aed2fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ COPY requirements.txt .
RUN pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir -r requirements.txt

# Pre-download the Whisper model
RUN python -c "import whisper; whisper.load_model('base')"
# Pre-download the Whisper model and store it in the cache
RUN python -c "import whisper; model = whisper.load_model('base')"

# Copy the rest of the application code
COPY . .
Expand Down

0 comments on commit 7aed2fb

Please sign in to comment.