Summarization / requirements.txt
ikraamkb's picture
Update requirements.txt
81761c2 verified
raw
history blame
752 Bytes
# Core App
fastapi
uvicorn[standard]
python-multipart
aiofiles
jinja2
# Gradio UI
gradio==4.19.2
# Transformers and NLP
transformers==4.36.2
torch==2.1.2
sentencepiece
# PDF, DOCX, PPTX, XLSX processing
pymupdf # PDF (PyMuPDF)
python-docx # DOCX
python-pptx # PPTX
openpyxl # XLSX
# OCR & Image
Pillow
easyocr
# TTS (Voice output only, no mic input)
gTTS
# Data and Tables
pandas
pdfplumber # for table reading in PDFs
# Optional: chart/table structure parsing (custom logic to be added)
layoutparser==0.3.4 # CPU-compatible version
# Retrieval + QA (FAISS, Haystack alt)
chromadb==0.4.15
# Session Memory
redis # optional, or use in-memory dict for HF Spaces
# Image Captioning model needs this
opencv-python-headless
# General
tqdm