hafsaabd82 commited on
Commit
a9c2877
·
verified ·
1 Parent(s): 5a2fe4b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -7
Dockerfile CHANGED
@@ -3,16 +3,15 @@ FROM python:3.10-slim
3
  RUN apt-get update && apt-get install -y ffmpeg libsndfile1 git && rm -rf /var/lib/apt/lists/*
4
 
5
  RUN pip install --upgrade pip
6
-
7
- RUN pip install \
8
- torch==2.0.1 \
9
- torchvision==0.15.2 \
10
- torchaudio==2.0.2 \
11
- --index-url https://download.pytorch.org/whl/cpu
12
-
13
  RUN pip install pyannote.audio==2.1.1
14
 
15
  RUN pip install git+https://github.com/m-bain/whisperx.git@v3.1.1
 
 
 
 
 
 
16
  RUN pip install --no-cache-dir "numpy<2"
17
 
18
  COPY requirements.txt .
 
3
  RUN apt-get update && apt-get install -y ffmpeg libsndfile1 git && rm -rf /var/lib/apt/lists/*
4
 
5
  RUN pip install --upgrade pip
 
 
 
 
 
 
 
6
  RUN pip install pyannote.audio==2.1.1
7
 
8
  RUN pip install git+https://github.com/m-bain/whisperx.git@v3.1.1
9
+ RUN pip install --no-cache-dir \
10
+ torch==2.1.2+cpu \
11
+ torchvision==0.16.2+cpu \
12
+ torchaudio==2.1.2+cpu \
13
+ --extra-index-url https://download.pytorch.org/whl/cpu \
14
+ --force-reinstall
15
  RUN pip install --no-cache-dir "numpy<2"
16
 
17
  COPY requirements.txt .