Spaces:
Sleeping
Sleeping
Rajan Sharma
commited on
Update requirements.txt
Browse files- requirements.txt +21 -18
requirements.txt
CHANGED
|
@@ -1,21 +1,24 @@
|
|
| 1 |
-
# Core
|
| 2 |
-
gradio==4.
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
accelerate==0.33.0
|
| 6 |
-
|
| 7 |
-
# Retrieval / embeddings
|
| 8 |
-
sentence-transformers==2.7.0
|
| 9 |
-
faiss-cpu==1.8.0
|
| 10 |
-
numpy==1.26.4
|
| 11 |
-
pandas==2.2.2
|
| 12 |
pydantic==2.7.4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
|
| 14 |
-
#
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
| 19 |
|
| 20 |
-
# Optional AV
|
| 21 |
-
clamd==1.0.2
|
|
|
|
| 1 |
+
# Core web stack (mutually compatible)
|
| 2 |
+
gradio==4.44.1
|
| 3 |
+
fastapi==0.115.0
|
| 4 |
+
starlette==0.40.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
pydantic==2.7.4
|
| 6 |
+
pydantic-core==2.18.4
|
| 7 |
+
uvicorn==0.30.1
|
| 8 |
+
|
| 9 |
+
# Your app’s ML/runtime deps
|
| 10 |
+
transformers==4.43.3
|
| 11 |
+
accelerate==0.33.0
|
| 12 |
+
torch>=2.1.0 # or your CUDA/CPU wheel
|
| 13 |
+
sentence-transformers==3.0.1
|
| 14 |
+
cohere==5.5.8
|
| 15 |
|
| 16 |
+
# parsing/uploads utils you already use
|
| 17 |
+
numpy>=1.26
|
| 18 |
+
pandas>=2.2
|
| 19 |
+
pillow>=10.4
|
| 20 |
+
pdfminer.six>=20220524
|
| 21 |
+
python-docx>=1.1.2
|
| 22 |
+
python-pptx>=0.6.23
|
| 23 |
+
pytesseract>=0.3.10
|
| 24 |
|
|
|
|
|
|