mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-30 14:04:27 +00:00
Fixed extract_text_from_backend definition
Signed-off-by: Maksym Lysak <mly@zurich.ibm.com>
This commit is contained in:
parent
a9cf823187
commit
16664f2cd6
@ -92,7 +92,7 @@ class VlmPipeline(PaginatedPipeline):
|
||||
return page
|
||||
|
||||
def extract_text_from_backend(
|
||||
self, page: Page, bbox: Union[BoundingBox | None]
|
||||
self, page: Page, bbox: Union[BoundingBox, None]
|
||||
) -> str:
|
||||
# Convert bounding box normalized to 0-100 into page coordinates for cropping
|
||||
text = ""
|
||||
|
Loading…
Reference in New Issue
Block a user