fix: PaddleOCR error
All checks were successful
Deploy to Staging / Build Images (pull_request) Successful in 3m46s
Deploy to Staging / Deploy to Staging (pull_request) Successful in 51s
Deploy to Staging / Verify Staging (pull_request) Successful in 8s
Deploy to Staging / Notify Staging Ready (pull_request) Successful in 7s
Deploy to Staging / Notify Staging Failure (pull_request) Has been skipped

This commit is contained in:
Eric Gullickson
2026-02-07 15:51:04 -06:00
parent 639ca117f1
commit dab4a3bdf3
3 changed files with 3 additions and 2 deletions

View File

@@ -38,6 +38,7 @@ class PaddleOcrEngine(OcrEngine):
use_textline_orientation=True,
lang="en",
device="cpu",
enable_mkldnn=False,
)
logger.info("PaddleOCR PP-OCRv4 initialized (CPU, textline_orientation=True)")
return self._ocr