| # Core API (runs locally — no GPU models) |
| fastapi>=0.115.2,<1.0 |
| uvicorn[standard]>=0.31.1,<1.0 |
| python-multipart>=0.0.18 |
| sse-starlette>=2.2.1,<4.0 |
|
|
| # PDF parsing (local) |
| PyMuPDF==1.24.5 |
| Pillow==10.3.0 |
| liteparse>=2.0.0 |
|
|
| # Vector DB (local FAISS — no external service) |
| faiss-cpu>=1.8.0 |
| rank-bm25>=0.2.2 |
| numpy>=1.26.0 |
|
|
| # Modal inference client |
| modal>=0.73.0 |
|
|
| # Gradio UI (provided by HF Spaces in production; needed for local runs) |
| gradio>=6.0,<7 |
|
|
| # Gradio is installed by Hugging Face Spaces (gradio[oauth,mcp]==6.18.0) |
| huggingface-hub>=1.2.0,<2.0 |
|
|
| # Utilities |
| pydantic>=2.7.4,<3.0.0 |
| pydantic-settings>=2.2.0 |
| python-dotenv==1.0.1 |
| aiofiles==23.2.1 |
| httpx>=0.27.1,<1.0 |
|
|