Prathamesh Sarjerao Vaidya
commited on
Commit
Β·
46827e9
1
Parent(s):
6baff01
made changes
Browse files- Dockerfile +10 -0
- requirements.txt +9 -1
Dockerfile
CHANGED
@@ -35,6 +35,16 @@ COPY requirements.txt .
|
|
35 |
RUN pip install --no-cache-dir --upgrade pip setuptools wheel && \
|
36 |
pip install --no-cache-dir -r requirements.txt
|
37 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
# Copy application code
|
39 |
COPY . .
|
40 |
|
|
|
35 |
RUN pip install --no-cache-dir --upgrade pip setuptools wheel && \
|
36 |
pip install --no-cache-dir -r requirements.txt
|
37 |
|
38 |
+
# Test critical imports to catch issues early
|
39 |
+
RUN python -c "import librosa; print('β librosa OK')" && \
|
40 |
+
python -c "import resampy; print('β resampy OK')" && \
|
41 |
+
python -c "import transformers; print('β transformers OK')" && \
|
42 |
+
python -c "import torch; print('β torch OK')" && \
|
43 |
+
python -c "import pyannote; print('β pyannote OK')" && \
|
44 |
+
python -c "import whisper; print('β whisper OK')" && \
|
45 |
+
python -c "import fastapi; print('β fastapi OK')" && \
|
46 |
+
echo "All critical imports successful!"
|
47 |
+
|
48 |
# Copy application code
|
49 |
COPY . .
|
50 |
|
requirements.txt
CHANGED
@@ -13,6 +13,7 @@ librosa==0.10.1
|
|
13 |
soundfile==0.12.1
|
14 |
pydub==0.25.1
|
15 |
webrtcvad==2.0.10
|
|
|
16 |
|
17 |
# NLP and Translation
|
18 |
transformers==4.35.2
|
@@ -52,4 +53,11 @@ safetensors==0.6.2
|
|
52 |
# Additional utilities
|
53 |
ffmpeg-python==0.2.0
|
54 |
httpx==0.28.1
|
55 |
-
requests==2.31.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
soundfile==0.12.1
|
14 |
pydub==0.25.1
|
15 |
webrtcvad==2.0.10
|
16 |
+
resampy==0.4.2
|
17 |
|
18 |
# NLP and Translation
|
19 |
transformers==4.35.2
|
|
|
53 |
# Additional utilities
|
54 |
ffmpeg-python==0.2.0
|
55 |
httpx==0.28.1
|
56 |
+
requests==2.31.0
|
57 |
+
|
58 |
+
# Additional dependencies that might be needed
|
59 |
+
pillow==10.0.1
|
60 |
+
numba==0.58.1
|
61 |
+
jinja2==3.1.2
|
62 |
+
packaging==23.2
|
63 |
+
joblib==1.3.2
|