amitlals
commited on
Commit
·
512757f
1
Parent(s):
09d3e37
Downgrade Gradio to 4.44.1 for API schema stability
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
|
@@ -25,9 +25,8 @@ COPY requirements.txt .
|
|
| 25 |
RUN pip install --no-cache-dir --upgrade pip && \
|
| 26 |
pip install --no-cache-dir -r requirements.txt
|
| 27 |
|
| 28 |
-
# Install
|
| 29 |
-
RUN pip install --no-cache-dir "gradio==
|
| 30 |
-
pip install --no-cache-dir --force-reinstall "huggingface-hub==0.24.7"
|
| 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"
|
|
|
|
| 25 |
RUN pip install --no-cache-dir --upgrade pip && \
|
| 26 |
pip install --no-cache-dir -r requirements.txt
|
| 27 |
|
| 28 |
+
# Install stable gradio version that avoids JSON schema regression
|
| 29 |
+
RUN pip install --no-cache-dir "gradio==4.44.1"
|
|
|
|
| 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"
|