ikraamkb commited on
Commit
81761c2
·
verified ·
1 Parent(s): 12d05c0

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +44 -20
requirements.txt CHANGED
@@ -1,22 +1,46 @@
 
1
  fastapi
2
- uvicorn
3
- gradio==3.50.2
4
- pandas
5
- matplotlib
6
- seaborn
7
- transformers
8
- torch
9
- pdfplumber
10
- python-docx
11
- pydantic<2.0
12
- tools
13
- openpyxl
14
- pytesseract
15
- deep-translator
16
- frontend
17
- pillow
 
 
 
 
 
18
  easyocr
19
- python-pptx
20
- pymupdf
21
- tika
22
- hf_xet
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Core App
2
  fastapi
3
+ uvicorn[standard]
4
+ 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 # PDF (PyMuPDF)
18
+ python-docx # DOCX
19
+ python-pptx # PPTX
20
+ openpyxl # XLSX
21
+
22
+ # OCR & Image
23
+ Pillow
24
  easyocr
25
+
26
+ # TTS (Voice output only, no mic input)
27
+ gTTS
28
+
29
+ # Data and Tables
30
+ pandas
31
+ pdfplumber # for table reading in PDFs
32
+
33
+ # Optional: chart/table structure parsing (custom logic to be added)
34
+ layoutparser==0.3.4 # CPU-compatible version
35
+
36
+ # Retrieval + QA (FAISS, Haystack alt)
37
+ chromadb==0.4.15
38
+
39
+ # Session Memory
40
+ redis # optional, or use in-memory dict for HF Spaces
41
+
42
+ # Image Captioning model needs this
43
+ opencv-python-headless
44
+
45
+ # General
46
+ tqdm