avinashHuggingface108 commited on
Commit
121e46d
·
1 Parent(s): a4bd75a

🔧 Fix Whisper dependency installation

Browse files

- Add explicit openai-whisper installation in Dockerfile
- Include openai-whisper in requirements.txt
- Ensure all audio processing dependencies are available

Files changed (2) hide show
  1. Dockerfile +2 -1
  2. requirements.txt +3 -0
Dockerfile CHANGED
@@ -13,7 +13,8 @@ RUN apt-get update && apt-get install -y \
13
  # Copy requirements first for better caching
14
  COPY requirements.txt fastapi_requirements.txt ./
15
  RUN pip install --no-cache-dir -r requirements.txt && \
16
- pip install --no-cache-dir -r fastapi_requirements.txt
 
17
 
18
  # Copy application code
19
  COPY . .
 
13
  # Copy requirements first for better caching
14
  COPY requirements.txt fastapi_requirements.txt ./
15
  RUN pip install --no-cache-dir -r requirements.txt && \
16
+ pip install --no-cache-dir -r fastapi_requirements.txt && \
17
+ pip install --no-cache-dir openai-whisper
18
 
19
  # Copy application code
20
  COPY . .
requirements.txt CHANGED
@@ -16,6 +16,9 @@ imageio-ffmpeg>=0.4.9
16
  huggingface-hub>=0.20.0
17
  datasets>=2.16.0
18
 
 
 
 
19
  # Utilities
20
  numpy>=1.24.0
21
  matplotlib>=3.7.0
 
16
  huggingface-hub>=0.20.0
17
  datasets>=2.16.0
18
 
19
+ # Audio Processing
20
+ openai-whisper>=20231117
21
+
22
  # Utilities
23
  numpy>=1.24.0
24
  matplotlib>=3.7.0