Spaces:
Running
Running
added modifications
Browse files- requirements.txt +55 -2
requirements.txt
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
fastapi
|
2 |
uvicorn
|
3 |
gradio==3.50.2
|
4 |
pandas
|
@@ -19,4 +19,57 @@ easyocr
|
|
19 |
python-pptx
|
20 |
pymupdf
|
21 |
tika
|
22 |
-
hf_xet
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"""fastapi
|
2 |
uvicorn
|
3 |
gradio==3.50.2
|
4 |
pandas
|
|
|
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
|