Spaces:
Running
Running
Update requirements.txt
Browse files- requirements.txt +26 -40
requirements.txt
CHANGED
@@ -1,44 +1,30 @@
|
|
1 |
-
# Core
|
2 |
-
fastapi
|
3 |
-
uvicorn
|
4 |
-
python-multipart
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
# Image & OCR
|
23 |
-
Pillow
|
24 |
-
easyocr
|
25 |
-
opencv-python-headless
|
26 |
-
pytesseract
|
27 |
|
28 |
# Text-to-Speech
|
29 |
-
gTTS
|
30 |
-
|
31 |
-
# Tables, Charts, Layout
|
32 |
-
pandas
|
33 |
-
pdfplumber
|
34 |
-
layoutparser==0.3.4 # CPU-friendly chart/table parser
|
35 |
-
|
36 |
-
# Retrieval-based QA
|
37 |
-
chromadb==0.4.15
|
38 |
|
39 |
-
#
|
40 |
-
|
41 |
|
42 |
-
#
|
43 |
-
|
44 |
-
pydantic==1.10.13
|
|
|
1 |
+
# Core Requirements
|
2 |
+
fastapi==0.109.1
|
3 |
+
uvicorn==0.27.0
|
4 |
+
python-multipart==0.0.6
|
5 |
+
|
6 |
+
# Document Processing
|
7 |
+
PyMuPDF==1.23.25
|
8 |
+
python-docx==0.8.11
|
9 |
+
openpyxl==3.1.2
|
10 |
+
python-pptx==0.6.23
|
11 |
+
|
12 |
+
# Image Processing
|
13 |
+
Pillow==10.2.0
|
14 |
+
easyocr==1.7.1
|
15 |
+
numpy==1.26.3
|
16 |
+
|
17 |
+
# ML/NLP Models
|
18 |
+
transformers==4.38.2
|
19 |
+
torch==2.2.1
|
20 |
+
sentencepiece==0.2.0
|
21 |
+
tokenizers==0.15.1
|
|
|
|
|
|
|
|
|
|
|
22 |
|
23 |
# Text-to-Speech
|
24 |
+
gTTS==2.4.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
|
26 |
+
# Gradio Interface
|
27 |
+
gradio==4.19.1
|
28 |
|
29 |
+
# Optional (for GPU support)
|
30 |
+
# torch==2.2.1+cu121 --extra-index-url https://download.pytorch.org/whl/cu121
|
|