ikraamkb commited on
Commit
72d2f3c
·
verified ·
1 Parent(s): 83897b7

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +31 -56
requirements.txt CHANGED
@@ -1,75 +1,50 @@
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"""
23
- # --- Core Framework ---
24
  fastapi
25
  uvicorn[standard]
 
 
26
  gradio==4.19.2
27
 
28
- # --- File Handling & Processing ---
29
- python-multipart
30
- aiofiles
31
- jinja2
32
 
33
- # --- Document Parsing ---
 
34
  python-docx
35
- openpyxl
36
  python-pptx
37
- PyMuPDF
38
  pdfplumber
39
- camelot-py[cv]
40
- tabula-py
41
  pandas
 
42
 
43
- # --- OCR & Image Processing ---
44
- Pillow
45
  easyocr
46
- opencv-python
47
 
48
- # --- Transformers & Inference ---
49
- transformers==4.36.2
50
- torch==2.1.2
51
- sentencepiece
52
- tqdm
53
 
54
- # --- Speech Recognition & TTS ---
55
- SpeechRecognition
56
- gTTS
57
- pydub
58
 
59
- # --- Retrieval-based QA & Vector DBs ---
60
  faiss-cpu
61
  chromadb
62
- sentence-transformers
63
- langchain
64
- farm-haystack
65
 
66
- # --- Graph Structure Extraction ---
67
- networkx
68
- # (Optional: install Detectron2 or YOLO separately based on GPU/CPU availability)
69
 
70
- # --- Cloud Handwriting OCR APIs ---
71
- google-cloud-vision
72
- azure-cognitiveservices-vision-computervision
 
73
 
74
- # --- Memory / Session Store (Optional) ---
75
- redis
 
 
 
 
1
+
2
+ # FastAPI & ASGI Server
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  fastapi
4
  uvicorn[standard]
5
+
6
+ # Gradio UI
7
  gradio==4.19.2
8
 
9
+ # Transformers & Torch
10
+ transformers==4.36.2
11
+ torch==2.1.2
12
+ sentencepiece
13
 
14
+ # PDF, DOCX, PPTX, XLSX parsing
15
+ PyMuPDF
16
  python-docx
 
17
  python-pptx
18
+ openpyxl
19
  pdfplumber
20
+
21
+ # Data Handling
22
  pandas
23
+ numpy
24
 
25
+ # OCR for printed text
 
26
  easyocr
 
27
 
28
+ # Chart & table parsing
29
+ layoutparser[layoutmodels,tesseract]
 
 
 
30
 
31
+ # Image processing
32
+ Pillow
 
 
33
 
34
+ # Retrieval & QA (lightweight FAISS/Chroma)
35
  faiss-cpu
36
  chromadb
 
 
 
37
 
38
+ # Optional: Graph extraction
39
+ ultralytics # YOLOv8
 
40
 
41
+ # Optional: Speech I/O
42
+ gtts
43
+ SpeechRecognition
44
+ pyaudio # only for local dev; may need to be replaced/removed for HF Spaces
45
 
46
+ # Utils
47
+ tqdm
48
+ aiofiles
49
+ python-multipart
50
+ jinja2