docling_pp_layout_demo / requirements.txt
adelevett's picture
Update requirements.txt
b6c69b7 verified
raw
history blame contribute delete
525 Bytes
# docling-pp-doc-layout is bundled as a local package (docling_pp_doc_layout/)
# because its PyPI releases require Python >=3.12 and ZeroGPU runs Python 3.10.
# Its dependencies are listed here directly.
#
# transformers is intentionally NOT pinned here. docling-ibm-models caps it
# at <5.0.0, so pip resolves ~4.x at build time. app.py then force-upgrades
# to >=5.1.0 at runtime (before any imports) because PP-DocLayoutV3's custom
# classes were added to transformers in 5.1.0.
docling>=2.73
spaces
transformers<=5.0.0