amitlals
commited on
Commit
·
963c1d2
1
Parent(s):
71d98bc
Pin huggingface_hub 0.24.7 for HfFolder compatibility
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
|
@@ -25,8 +25,9 @@ COPY requirements.txt .
|
|
| 25 |
RUN pip install --no-cache-dir --upgrade pip && \
|
| 26 |
pip install --no-cache-dir -r requirements.txt
|
| 27 |
|
| 28 |
-
# Install compatible gradio version
|
| 29 |
-
RUN pip install --no-cache-dir "
|
|
|
|
| 30 |
|
| 31 |
# Install SAP-RPT-1-OSS from GitHub (with --no-deps to avoid conflicts)
|
| 32 |
RUN pip install --no-cache-dir --no-deps git+https://github.com/SAP-samples/sap-rpt-1-oss || echo "SAP-RPT-1-OSS installation skipped"
|
|
|
|
| 25 |
RUN pip install --no-cache-dir --upgrade pip && \
|
| 26 |
pip install --no-cache-dir -r requirements.txt
|
| 27 |
|
| 28 |
+
# Install compatible gradio version with pinned huggingface_hub
|
| 29 |
+
RUN pip install --no-cache-dir "huggingface_hub==0.24.7" && \
|
| 30 |
+
pip install --no-cache-dir "gradio==5.6.0"
|
| 31 |
|
| 32 |
# Install SAP-RPT-1-OSS from GitHub (with --no-deps to avoid conflicts)
|
| 33 |
RUN pip install --no-cache-dir --no-deps git+https://github.com/SAP-samples/sap-rpt-1-oss || echo "SAP-RPT-1-OSS installation skipped"
|