Fixes to pip

This commit is contained in:
Pavel committed 2026-09-03 00:34:09 +04:00
1 parent ed0892b39b
commit b352d13edf
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -199,7 +199,7 @@ def _docling_file_extractor(
logging.log(
missing_log_level,
"docling is not installed. Using standard parsers%s. For layout-model "
"parsing, install with: pip install -r requirements-docling.txt",
"parsing, install with: pip install -r application/requirements-docling.txt",
" with native OCR" if ocr_enabled else "",
)
return _legacy_file_extractor(pdf_text_fast_path, ocr_enabled=ocr_enabled)
+1 -1
View File
@@ -593,7 +593,7 @@ class DoclingParser(BaseParser):
if importlib.util.find_spec("docling.document_converter") is None:
raise ImportError(
"docling is required for DoclingParser. "
"Install it with: pip install docling"
"Install it with: pip install -r application/requirements-docling.txt"
)
# Create converter with hybrid OCR (smart: text direct, bitmaps OCR'd)
+1 -1
View File
@@ -130,7 +130,7 @@ def resolve_ocr_backend(requested: Optional[str] = None) -> str:
if backend == "docling" and not docling_installed:
logger.warning(
"OCR_BACKEND=docling but docling is not installed (pip install -r "
"requirements-docling.txt); using the native OCR backend"
"application/requirements-docling.txt); using the native OCR backend"
)
return "native"
if backend == "auto":
+1 -1
View File
@@ -14,7 +14,7 @@ daytona==0.205.1
defusedxml==0.7.1
# Default document converter (DOC_PARSER_ENGINE=anydoc). The docling engine
# (OCR, layout/table models, read_document's structured output) is an
# optional extra: pip install -r requirements-docling.txt
# optional extra: pip install -r application/requirements-docling.txt
firecrawl-anydoc==0.2.3
docx2txt==0.9
ddgs>=8.0.0