amitlals commited on
Commit
512757f
·
1 Parent(s): 09d3e37

Downgrade Gradio to 4.44.1 for API schema stability

Browse files
Files changed (1) hide show
  1. 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 compatible gradio version and then force-install huggingface-hub 0.24.7
29
- RUN pip install --no-cache-dir "gradio==5.6.0" && \
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"