mirror of
https://github.com/DS4SD/docling.git
synced 2025-08-02 15:32:30 +00:00
remove debugging code
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
parent
8e5ecad9c9
commit
fa0a788ba9
@ -264,7 +264,6 @@ class GlmModel:
|
|||||||
glm_doc = self.model.apply_on_doc(ds_doc_dict)
|
glm_doc = self.model.apply_on_doc(ds_doc_dict)
|
||||||
|
|
||||||
docling_doc: DoclingDocument = to_docling_document(glm_doc) # Experimental
|
docling_doc: DoclingDocument = to_docling_document(glm_doc) # Experimental
|
||||||
1 == 1
|
|
||||||
|
|
||||||
# DEBUG code:
|
# DEBUG code:
|
||||||
def draw_clusters_and_cells(ds_document, page_no, show: bool = False):
|
def draw_clusters_and_cells(ds_document, page_no, show: bool = False):
|
||||||
|
@ -34,8 +34,6 @@ def test_cell_ordering():
|
|||||||
page_backend: DoclingParseV2PageBackend = doc_backend.load_page(page_index)
|
page_backend: DoclingParseV2PageBackend = doc_backend.load_page(page_index)
|
||||||
cells = list(page_backend.get_text_cells())
|
cells = list(page_backend.get_text_cells())
|
||||||
|
|
||||||
1 == 1
|
|
||||||
|
|
||||||
|
|
||||||
def test_text_cell_counts():
|
def test_text_cell_counts():
|
||||||
pdf_doc = Path("./tests/data/pdf/redp5110_sampled.pdf")
|
pdf_doc = Path("./tests/data/pdf/redp5110_sampled.pdf")
|
||||||
|
Loading…
Reference in New Issue
Block a user