Spaces:
Sleeping
Sleeping
FINAL FIX: Minimal tested requirements (numpy 1.26.4, scipy 1.13.1, torch 2.1.2, librosa 0.10.1). Removed --only-binary flag. This will build successfully.
Browse files- Dockerfile +2 -3
- backend/requirements.txt +7 -8
Dockerfile
CHANGED
|
@@ -14,9 +14,8 @@ WORKDIR /app
|
|
| 14 |
# Copy entire project
|
| 15 |
COPY . .
|
| 16 |
|
| 17 |
-
# Install Python dependencies
|
| 18 |
-
RUN pip install --no-cache-dir
|
| 19 |
-
pip install --no-cache-dir -r backend/requirements.txt
|
| 20 |
|
| 21 |
# Note: Models will be downloaded on first request
|
| 22 |
# Skipping download_models.py to avoid build timeout on HF Spaces
|
|
|
|
| 14 |
# Copy entire project
|
| 15 |
COPY . .
|
| 16 |
|
| 17 |
+
# Install Python dependencies
|
| 18 |
+
RUN pip install --no-cache-dir -r backend/requirements.txt
|
|
|
|
| 19 |
|
| 20 |
# Note: Models will be downloaded on first request
|
| 21 |
# Skipping download_models.py to avoid build timeout on HF Spaces
|
backend/requirements.txt
CHANGED
|
@@ -1,16 +1,15 @@
|
|
| 1 |
flask==2.3.3
|
| 2 |
flask-cors==4.0.0
|
| 3 |
gunicorn==21.2.0
|
|
|
|
| 4 |
torch==2.1.2
|
| 5 |
-
librosa==0.10.
|
| 6 |
soundfile==0.12.1
|
| 7 |
-
|
|
|
|
|
|
|
| 8 |
huggingface_hub==0.19.4
|
| 9 |
matplotlib==3.7.2
|
| 10 |
-
scipy==1.13.1
|
| 11 |
-
scikit-learn==1.3.0
|
| 12 |
-
unidecode==1.3.0
|
| 13 |
-
inflect==7.0.0
|
| 14 |
pydub==0.25.1
|
| 15 |
-
|
| 16 |
-
|
|
|
|
| 1 |
flask==2.3.3
|
| 2 |
flask-cors==4.0.0
|
| 3 |
gunicorn==21.2.0
|
| 4 |
+
numpy==1.26.4
|
| 5 |
torch==2.1.2
|
| 6 |
+
librosa==0.10.1
|
| 7 |
soundfile==0.12.1
|
| 8 |
+
scipy==1.13.1
|
| 9 |
+
scikit-learn==1.3.2
|
| 10 |
+
TTS==0.21.0
|
| 11 |
huggingface_hub==0.19.4
|
| 12 |
matplotlib==3.7.2
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
pydub==0.25.1
|
| 14 |
+
inflect==7.0.0
|
| 15 |
+
unidecode==1.3.0
|