Skip to content

Commit 01fe567

Browse files
committed
Force downgrade huggingface-hub for Docling compatibility
1 parent d6835d3 commit 01fe567

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backend/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ RUN pip install --user --no-cache-dir --prefer-binary \
6969
# =============================================================================
7070
RUN if [ "$USE_DOCLING" = "true" ]; then \
7171
pip install --user --no-cache-dir --prefer-binary \
72-
"huggingface-hub>=0.24.0,<1.0" \
7372
transformers>=4.47.0 \
7473
docling>=2.14.0 \
7574
docling-core>=2.4.0 && \
75+
pip install --user --no-cache-dir --force-reinstall "huggingface-hub>=0.24.0,<1.0" && \
7676
pip uninstall -y opencv-python 2>/dev/null || true && \
7777
pip install --user --no-cache-dir opencv-python-headless; \
7878
else \

0 commit comments

Comments
 (0)