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

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +19 -21
requirements.txt CHANGED
@@ -14,34 +14,32 @@ 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
- pydantic==1.10.13
 
26
 
27
- # TTS (Voice output only, no mic input)
28
  gTTS
29
 
30
- # Data and Tables
31
  pandas
32
- pdfplumber # for table reading in PDFs
33
-
34
- # Optional: chart/table structure parsing (custom logic to be added)
35
- layoutparser==0.3.4 # CPU-compatible version
36
 
37
- # Retrieval + QA (FAISS, Haystack alt)
38
- chromadb==0.4.15
39
 
40
- # Session Memory
41
- redis # optional, or use in-memory dict for HF Spaces
42
 
43
- # Image Captioning model needs this
44
- opencv-python-headless
45
-
46
- # General
47
  tqdm
 
 
 
 
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