mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-06-29 15:31:05 +08:00
Fix paddle ocr / minerU cannot add (#15858)
Fix paddle ocr / minerU cannot add
This commit is contained in:
@@ -223,8 +223,6 @@ class PaddleOCRParser(RAGFlowPdfParser):
|
||||
request_timeout: int = 600,
|
||||
):
|
||||
"""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")
|
||||
|
||||
Reference in New Issue
Block a user