mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-27 12:34:22 +00:00
Silence v2 parser logging
Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
This commit is contained in:
parent
c28cc680ef
commit
94bffd7383
@ -204,6 +204,7 @@ class DoclingParseV2DocumentBackend(PdfDocumentBackend):
|
|||||||
|
|
||||||
self._pdoc = pdfium.PdfDocument(path_or_stream)
|
self._pdoc = pdfium.PdfDocument(path_or_stream)
|
||||||
self.parser = pdf_parser_v2()
|
self.parser = pdf_parser_v2()
|
||||||
|
self.parser.set_loglevel(0)
|
||||||
|
|
||||||
success = False
|
success = False
|
||||||
if isinstance(path_or_stream, BytesIO):
|
if isinstance(path_or_stream, BytesIO):
|
||||||
|
Loading…
Reference in New Issue
Block a user