Spaces:
Running
Running
Update requirements.txt
Browse files- requirements.txt +44 -20
requirements.txt
CHANGED
@@ -1,22 +1,46 @@
|
|
|
|
1 |
fastapi
|
2 |
-
uvicorn
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
|
|
|
|
|
|
|
|
|
|
18 |
easyocr
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Core App
|
2 |
fastapi
|
3 |
+
uvicorn[standard]
|
4 |
+
python-multipart
|
5 |
+
aiofiles
|
6 |
+
jinja2
|
7 |
+
|
8 |
+
# Gradio UI
|
9 |
+
gradio==4.19.2
|
10 |
+
|
11 |
+
# Transformers and NLP
|
12 |
+
transformers==4.36.2
|
13 |
+
torch==2.1.2
|
14 |
+
sentencepiece
|
15 |
+
|
16 |
+
# PDF, DOCX, PPTX, XLSX processing
|
17 |
+
pymupdf # PDF (PyMuPDF)
|
18 |
+
python-docx # DOCX
|
19 |
+
python-pptx # PPTX
|
20 |
+
openpyxl # XLSX
|
21 |
+
|
22 |
+
# OCR & Image
|
23 |
+
Pillow
|
24 |
easyocr
|
25 |
+
|
26 |
+
# TTS (Voice output only, no mic input)
|
27 |
+
gTTS
|
28 |
+
|
29 |
+
# Data and Tables
|
30 |
+
pandas
|
31 |
+
pdfplumber # for table reading in PDFs
|
32 |
+
|
33 |
+
# Optional: chart/table structure parsing (custom logic to be added)
|
34 |
+
layoutparser==0.3.4 # CPU-compatible version
|
35 |
+
|
36 |
+
# Retrieval + QA (FAISS, Haystack alt)
|
37 |
+
chromadb==0.4.15
|
38 |
+
|
39 |
+
# Session Memory
|
40 |
+
redis # optional, or use in-memory dict for HF Spaces
|
41 |
+
|
42 |
+
# Image Captioning model needs this
|
43 |
+
opencv-python-headless
|
44 |
+
|
45 |
+
# General
|
46 |
+
tqdm
|