Akhil commited on
Commit
ccafae1
·
1 Parent(s): 76d0947
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -9,7 +9,7 @@ WORKDIR /app
9
  COPY requirements.txt .
10
  RUN pip3 install --no-cache-dir --upgrade -r requirements.txt
11
 
12
- RUN python3 -c "from faster_whisper import WhisperModel; WhisperModel.download_model('small', cache_dir='/app/models')"
13
 
14
  COPY . .
15
 
 
9
  COPY requirements.txt .
10
  RUN pip3 install --no-cache-dir --upgrade -r requirements.txt
11
 
12
+ RUN python3 -c "from faster_whisper import WhisperModel; model = WhisperModel('small', device='cpu', download_root='/app/models')"
13
 
14
  COPY . .
15