fix: upgrade PaddleOCR to 3.x for PP-OCRv5 and stability

Old paddlepaddle==2.6.2 + paddleocr==2.8.1 caused hangs on first OCR
request. Upgrading to paddlepaddle>=3.0.0 + paddleocr>=2.9.0 enables
native PP-OCRv5 support and fixes stability issues.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Benjamin Admin
2026-03-13 10:53:18 +01:00
parent 5ee3cc0104
commit 4ce649aa71

View File

@@ -1,5 +1,5 @@
paddlepaddle==2.6.2
paddleocr==2.8.1
paddlepaddle>=3.0.0
paddleocr>=2.9.0
fastapi>=0.110.0
uvicorn>=0.25.0
python-multipart>=0.0.6