fastapi==0.104.1 uvicorn==0.24.0 python-multipart==0.0.6 # CPU-only torch — saves ~1.5GB vs full CUDA bundle torch==2.1.2+cpu --extra-index-url https://download.pytorch.org/whl/cpu transformers==4.36.2 pillow==10.1.0 pdf2image==1.17.0 huggingface-hub==0.20.1 pydantic==2.5.2 pydantic-settings requests tenacity pdfplumber==0.11.0