From 826af383b4b7b31d4200a4ae7e2efb12d70af5b8 Mon Sep 17 00:00:00 2001 From: Magicbook1108 Date: Fri, 6 Mar 2026 17:19:51 +0800 Subject: [PATCH] Fix: paddle ocr missing outlines (#13441) ### What problem does this PR solve? Fix: paddle ocr missing outlines #13422 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --- deepdoc/parser/paddleocr_parser.py | 1 + 1 file changed, 1 insertion(+) diff --git a/deepdoc/parser/paddleocr_parser.py b/deepdoc/parser/paddleocr_parser.py index 85db63b862..28546e1c0f 100644 --- a/deepdoc/parser/paddleocr_parser.py +++ b/deepdoc/parser/paddleocr_parser.py @@ -199,6 +199,7 @@ class PaddleOCRParser(RAGFlowPdfParser): """Initialize PaddleOCR parser.""" super().__init__() + self.outlines = [] self.api_url = api_url.rstrip("/") if api_url else os.getenv("PADDLEOCR_API_URL", "") self.access_token = access_token or os.getenv("PADDLEOCR_ACCESS_TOKEN") self.algorithm = algorithm