Skip to content

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Auer <[email protected]>
  • Loading branch information
cau-git committed Sep 25, 2024
1 parent f45ad08 commit b7b35a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepsearch_glm/utils/doc_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def to_docling_document(doc_glm, update_name_label=False) -> DoclingDocument:
prov = ProvenanceItem(page_no=pelem["page"], charspan=(0, len(text)),
bbox=BoundingBox.from_tuple(pelem["bbox"], origin=CoordOrigin.BOTTOMLEFT))

doc.add_paragraph(label=PageLabel(name_label), text=text, prov=prov)
doc.add_paragraph(label=DocItemLabel(name_label), text=text, prov=prov)

else:
pitem = {
Expand Down

0 comments on commit b7b35a7

Please sign in to comment.