devcom33 commited on
Commit
438ba6c
·
1 Parent(s): 6f46074

Updated FastAPI code

Browse files
Files changed (2) hide show
  1. Dockerfile +3 -0
  2. requirements.txt +0 -1
Dockerfile CHANGED
@@ -7,6 +7,9 @@ WORKDIR /app
7
  COPY . .
8
 
9
  # Install Python dependencies
 
 
 
10
  RUN pip install --no-cache-dir -r requirements.txt
11
 
12
  # Make a writable cache directory for model downloads
 
7
  COPY . .
8
 
9
  # Install Python dependencies
10
+ RUN pip install --upgrade pip
11
+ RUN pip install --no-cache-dir torch torchvision torchaudio
12
+ RUN pip install --no-cache-dir git+https://github.com/pyannote/pyannote-audio.git
13
  RUN pip install --no-cache-dir -r requirements.txt
14
 
15
  # Make a writable cache directory for model downloads
requirements.txt CHANGED
@@ -8,7 +8,6 @@ pydub
8
  psutil
9
  python-multipart
10
  en-core-web-sm @ https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.8.0/en_core_web_sm-3.8.0-py3-none-any.whl
11
- pyannote
12
  nltk
13
  google.generativeai
14
  google
 
8
  psutil
9
  python-multipart
10
  en-core-web-sm @ https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.8.0/en_core_web_sm-3.8.0-py3-none-any.whl
 
11
  nltk
12
  google.generativeai
13
  google