Prevents PyTorch/Docling pipeline crashes on HF Spaces CPU by: - Reducing max file size from 50 MB to 5 MB - Adding configurable MAX_PAGE_COUNT setting (env var, default unlimited) - Increasing conversion timeout from 600s to 900s - Adding frontend upload validation with explicit error messages - Exposing maxPageCount via /api/health for dynamic UI hints |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_analysis_service.py | ||
| test_api_endpoints.py | ||
| test_bbox.py | ||
| test_chunking.py | ||
| test_document_service.py | ||
| test_models.py | ||
| test_pipeline_options.py | ||
| test_rate_limiter.py | ||
| test_repos.py | ||
| test_schemas.py | ||
| test_serve_converter.py | ||
| test_settings.py | ||