fix(cv): harden document parsing

Upgrade and hash-lock upload-facing parser dependencies, reject resource-heavy or mismatched inputs, remove unsafe backend binary fallbacks, and prevent internal parser failures from leaking to users.
This commit is contained in:
cesnimda
2026-08-30 11:00:52 +02:00
parent a74daa7aa4
commit a8bf505ce5
14 changed files with 1869 additions and 110 deletions
+5 -4
View File
@@ -1,12 +1,13 @@
fastapi==0.115.12
fastapi==0.141.1
starlette==1.6.0
uvicorn[standard]==0.34.0
transformers==4.48.3
cachetools==5.5.2
pydantic==2.10.6
torch==2.6.0
pillow==11.1.0
pillow==12.3.0
pytesseract==0.3.13
pypdf==5.4.0
pypdf==6.16.2
pymupdf==1.25.5
python-docx==1.1.2
python-multipart==0.0.20
python-multipart==0.0.32