Spaces:
Running on Zero
Running on Zero
| # 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 | |