doc-processor / requirements.txt
kn29's picture
Update requirements.txt
f1ce7b7 verified
raw
history blame contribute delete
606 Bytes
# Hugging Face Spaces requirements
gradio==4.44.0
requests==2.31.0
fastapi==0.115.6
uvicorn==0.32.1
python-multipart==0.0.9 # ✅ needed for FastAPI file uploads
# Core ML/NLP
torch==2.2.2
transformers==4.44.2
sentence-transformers==2.2.2
spacy==3.8.2
scikit-learn==1.5.2
numpy==1.26.4
pandas==2.2.3
nltk==3.9.1
# Retrieval / Search
faiss-cpu==1.7.4
rank-bm25==0.2.2
# File parsing (PDF, DOCX, OCR)
PyPDF2==3.0.1
pdfplumber==0.11.4
python-docx==1.1.2
pytesseract==0.3.13
easyocr==1.7.1
pdf2image==1.16.3
opencv-python==4.10.0.84
Pillow==10.4.0
# API clients
groq==0.13.0
motor==3.6.0
pymongo==4.9.2