docling-studio/document-parser/infra
Pier-Jean Malandrino f58b563a13 fix: make default table_mode configurable via DEFAULT_TABLE_MODE (H1)
TableFormerMode.ACCURATE is very expensive on CPU (~3-5x slower).
The default can now be set to "fast" on resource-constrained
environments (HF Spaces) via the DEFAULT_TABLE_MODE env var.

User-specified table_mode in the request still takes precedence.

Ref #57 (H1)
2026-04-07 15:32:38 +02:00
..
__init__.py Refactor backend to hexagonal architecture for converter extensibility 2026-03-31 10:34:07 +02:00
bbox.py Move bbox.py from domain/ to infra/ and unify coordinate logic 2026-04-03 13:17:26 +02:00
local_chunker.py Fix import ordering violations (ruff I001) 2026-04-03 14:05:38 +02:00
local_converter.py fix: pass max_num_pages and max_file_size to Docling convert (C3) 2026-04-07 15:32:38 +02:00
rate_limiter.py Add in-memory rate limiting middleware 2026-04-03 13:56:05 +02:00
serve_converter.py Move bbox.py from domain/ to infra/ and unify coordinate logic 2026-04-03 13:17:26 +02:00
settings.py fix: make default table_mode configurable via DEFAULT_TABLE_MODE (H1) 2026-04-07 15:32:38 +02:00