ikraamkb commited on
Commit
a48ca23
·
verified ·
1 Parent(s): 17b8f35

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +15 -17
requirements.txt CHANGED
@@ -5,41 +5,39 @@ 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 # PyMuPDF for PDF
18
  python-docx
19
  python-pptx
20
  openpyxl
21
 
22
- # OCR & Image Processing
23
- easyocr
24
- opencv-python-headless # required for EasyOCR and layoutparser
25
  Pillow
 
 
26
 
27
- # Voice Output
28
  gTTS
29
 
30
- # Table & Chart QA from documents
31
  pandas
32
- pdfplumber # for tables in PDFs
33
- layoutparser==0.3.4 # CPU-compatible layout parser (no detectron2)
34
 
35
- # Retrieval + Long QA
36
- chromadb==0.4.15 # for retrieval-based QA
37
 
38
- # Session Memory (optional Redis-based or in-memory)
39
  redis
40
 
41
- # General Utilities
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