File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
docling_core/experimental Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -368,15 +368,11 @@ def serialize_doc(
368368 for full_match , _ , _ in self ._get_page_breaks (text = text_res ):
369369 text_res = text_res .replace (full_match , page_sep )
370370
371- # print(f"text-res-v1: {text_res}")
372-
373371 tmp = f"<{ IDocTagsToken .DOCUMENT .value } >"
374372 tmp += f"<{ IDocTagsToken .VERSION .value } >{ DOCTAGS_VERSION } </{ IDocTagsToken .VERSION .value } >"
375- # text_res += f"{text_res}{delim}"
376373 tmp += f"{ text_res } "
377374 tmp += f"</{ IDocTagsToken .DOCUMENT .value } >"
378375
379- # print(f"text-res-v2: {tmp}")
380376 text_res = tmp
381377
382378 if self .params .pretty_indentation and (
@@ -387,6 +383,4 @@ def serialize_doc(
387383 [line for line in text_res .split ("\n " ) if line .strip ()]
388384 )
389385
390- print (f"text-res-v3:\n { text_res } " )
391-
392386 return create_ser_result (text = text_res , span_source = parts )
You can’t perform that action at this time.
0 commit comments