Spaces:
Running
Running
Update requirements.txt
Browse files- requirements.txt +15 -17
requirements.txt
CHANGED
@@ -5,41 +5,39 @@ python-multipart
|
|
5 |
aiofiles
|
6 |
jinja2
|
7 |
|
8 |
-
# Gradio UI
|
9 |
-
gradio==
|
10 |
|
11 |
# Transformers and NLP
|
12 |
transformers==4.36.2
|
13 |
torch==2.1.2
|
14 |
sentencepiece
|
15 |
|
16 |
-
# PDF, DOCX, PPTX, XLSX
|
17 |
-
pymupdf
|
18 |
python-docx
|
19 |
python-pptx
|
20 |
openpyxl
|
21 |
|
22 |
-
#
|
23 |
-
easyocr
|
24 |
-
opencv-python-headless # required for EasyOCR and layoutparser
|
25 |
Pillow
|
|
|
|
|
26 |
|
27 |
-
#
|
28 |
gTTS
|
29 |
|
30 |
-
#
|
31 |
pandas
|
32 |
-
pdfplumber
|
33 |
-
layoutparser==0.3.4 # CPU-
|
34 |
|
35 |
-
# Retrieval
|
36 |
-
chromadb==0.4.15
|
37 |
|
38 |
-
#
|
39 |
redis
|
40 |
|
41 |
-
#
|
42 |
tqdm
|
43 |
-
|
44 |
-
# Compatibility (avoid Pydantic v2 issues)
|
45 |
pydantic==1.10.13
|
|
|
5 |
aiofiles
|
6 |
jinja2
|
7 |
|
8 |
+
# Gradio UI (last version compatible with pydantic v1)
|
9 |
+
gradio==3.50.2
|
10 |
|
11 |
# Transformers and NLP
|
12 |
transformers==4.36.2
|
13 |
torch==2.1.2
|
14 |
sentencepiece
|
15 |
|
16 |
+
# PDF, DOCX, PPTX, XLSX
|
17 |
+
pymupdf
|
18 |
python-docx
|
19 |
python-pptx
|
20 |
openpyxl
|
21 |
|
22 |
+
# Image & OCR
|
|
|
|
|
23 |
Pillow
|
24 |
+
easyocr
|
25 |
+
opencv-python-headless
|
26 |
|
27 |
+
# Text-to-Speech
|
28 |
gTTS
|
29 |
|
30 |
+
# Tables, Charts, Layout
|
31 |
pandas
|
32 |
+
pdfplumber
|
33 |
+
layoutparser==0.3.4 # CPU-friendly chart/table parser
|
34 |
|
35 |
+
# Retrieval-based QA
|
36 |
+
chromadb==0.4.15
|
37 |
|
38 |
+
# Optional session memory
|
39 |
redis
|
40 |
|
41 |
+
# Misc
|
42 |
tqdm
|
|
|
|
|
43 |
pydantic==1.10.13
|