TanujInsane commited on
Commit ·
13f2931
1
Parent(s): 2c2c2cc
fix requirements - remove huggingface-hub conflict
Browse files- Dockerfile +2 -1
- requirements.txt +0 -2
Dockerfile
CHANGED
|
@@ -10,7 +10,7 @@ RUN apt-get update && apt-get install -y \
|
|
| 10 |
|
| 11 |
# Copy requirements and install Python dependencies
|
| 12 |
COPY requirements.txt .
|
| 13 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
| 14 |
|
| 15 |
# Copy application files
|
| 16 |
COPY . .
|
|
@@ -29,3 +29,4 @@ HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
|
|
| 29 |
# Default command - can be overridden
|
| 30 |
CMD ["python", "app.py"]
|
| 31 |
|
|
|
|
|
|
| 10 |
|
| 11 |
# Copy requirements and install Python dependencies
|
| 12 |
COPY requirements.txt .
|
| 13 |
+
RUN pip install --no-cache-dir -r requirements.txt --upgrade
|
| 14 |
|
| 15 |
# Copy application files
|
| 16 |
COPY . .
|
|
|
|
| 29 |
# Default command - can be overridden
|
| 30 |
CMD ["python", "app.py"]
|
| 31 |
|
| 32 |
+
|
requirements.txt
CHANGED
|
@@ -5,6 +5,4 @@ scikit-learn==1.3.0
|
|
| 5 |
pyyaml==6.0
|
| 6 |
requests==2.31.0
|
| 7 |
flask==2.3.3
|
| 8 |
-
huggingface-hub==0.16.4
|
| 9 |
gradio>=6.0.0
|
| 10 |
-
|
|
|
|
| 5 |
pyyaml==6.0
|
| 6 |
requests==2.31.0
|
| 7 |
flask==2.3.3
|
|
|
|
| 8 |
gradio>=6.0.0
|
|
|