Spaces:
Sleeping
Sleeping
Commit ·
54e7cc7
1
Parent(s): 44f4c19
Fix build: bump huggingface_hub to >=0.33.4 and upgrade pip in Dockerfile
Browse files- Dockerfile +2 -1
- requirements.txt +2 -1
Dockerfile
CHANGED
|
@@ -17,7 +17,8 @@ COPY . .
|
|
| 17 |
ENV PYTHONPATH=/app
|
| 18 |
|
| 19 |
# Install python dependencies
|
| 20 |
-
RUN pip install --
|
|
|
|
| 21 |
|
| 22 |
# Spaces sets $PORT; default locally to 8501
|
| 23 |
ENV PORT=8501
|
|
|
|
| 17 |
ENV PYTHONPATH=/app
|
| 18 |
|
| 19 |
# Install python dependencies
|
| 20 |
+
RUN python -m pip install --upgrade pip setuptools wheel \
|
| 21 |
+
&& pip install --no-cache-dir -r requirements.txt
|
| 22 |
|
| 23 |
# Spaces sets $PORT; default locally to 8501
|
| 24 |
ENV PORT=8501
|
requirements.txt
CHANGED
|
@@ -41,7 +41,8 @@ pandas==2.3.2
|
|
| 41 |
numpy==1.26.4
|
| 42 |
requests==2.32.5
|
| 43 |
datasets==3.2.0
|
| 44 |
-
|
|
|
|
| 45 |
|
| 46 |
# Optional semantic splitter (app gracefully falls back if missing)
|
| 47 |
semantic-text-splitter==0.27.0
|
|
|
|
| 41 |
numpy==1.26.4
|
| 42 |
requests==2.32.5
|
| 43 |
datasets==3.2.0
|
| 44 |
+
# langchain-huggingface>=0.3.1 requires huggingface-hub>=0.33.4
|
| 45 |
+
huggingface_hub>=0.33.4
|
| 46 |
|
| 47 |
# Optional semantic splitter (app gracefully falls back if missing)
|
| 48 |
semantic-text-splitter==0.27.0
|