ikraamkb commited on
Commit
ea282f7
·
verified ·
1 Parent(s): 0d84ecf

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +26 -40
requirements.txt CHANGED
@@ -1,44 +1,30 @@
1
- # Core App
2
- fastapi
3
- uvicorn[standard]
4
- python-multipart
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
- 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
- # Optional session memory
40
- redis
41
 
42
- # Misc
43
- tqdm
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