Spaces:
Running
Running
Update requirements.txt
Browse files- requirements.txt +13 -15
requirements.txt
CHANGED
|
@@ -1,40 +1,38 @@
|
|
| 1 |
-
# --- Core
|
| 2 |
-
numpy
|
| 3 |
pillow
|
| 4 |
opencv-python
|
| 5 |
matplotlib
|
| 6 |
requests
|
| 7 |
tqdm
|
| 8 |
pypdf
|
|
|
|
| 9 |
|
| 10 |
-
# --- Deep Learning (
|
| 11 |
tensorflow==2.15.1
|
| 12 |
-
transformers>=4.
|
| 13 |
-
accelerate
|
| 14 |
safetensors
|
| 15 |
-
|
| 16 |
-
# --- Hugging Face ---
|
| 17 |
huggingface-hub
|
| 18 |
sentence-transformers
|
| 19 |
|
| 20 |
-
# --- LangChain & RAG ---
|
| 21 |
-
langchain
|
| 22 |
-
langchain-community
|
| 23 |
-
langchain-huggingface
|
|
|
|
| 24 |
faiss-cpu
|
| 25 |
-
pymupdf
|
| 26 |
|
| 27 |
# --- YOLO Detection ---
|
| 28 |
ultralytics
|
| 29 |
|
| 30 |
-
# --- Gradio
|
| 31 |
gradio>=4.28.0
|
| 32 |
spaces
|
| 33 |
|
| 34 |
-
# ---
|
| 35 |
python-dotenv
|
| 36 |
|
| 37 |
-
|
| 38 |
# ---------- Databases ----------
|
| 39 |
mysqlclient
|
| 40 |
mysql-connector-python
|
|
|
|
| 1 |
+
# --- Core ---
|
| 2 |
+
numpy>=1.26
|
| 3 |
pillow
|
| 4 |
opencv-python
|
| 5 |
matplotlib
|
| 6 |
requests
|
| 7 |
tqdm
|
| 8 |
pypdf
|
| 9 |
+
pymupdf>=1.24.0
|
| 10 |
|
| 11 |
+
# --- Deep Learning (do NOT pin torch on ZeroGPU) ---
|
| 12 |
tensorflow==2.15.1
|
| 13 |
+
transformers>=4.43,<5.0
|
| 14 |
+
accelerate>=0.33
|
| 15 |
safetensors
|
|
|
|
|
|
|
| 16 |
huggingface-hub
|
| 17 |
sentence-transformers
|
| 18 |
|
| 19 |
+
# --- LangChain & RAG (aligned versions) ---
|
| 20 |
+
langchain
|
| 21 |
+
langchain-community
|
| 22 |
+
langchain-huggingface
|
| 23 |
+
langchain-text-splitters
|
| 24 |
faiss-cpu
|
|
|
|
| 25 |
|
| 26 |
# --- YOLO Detection ---
|
| 27 |
ultralytics
|
| 28 |
|
| 29 |
+
# --- Gradio / Spaces ---
|
| 30 |
gradio>=4.28.0
|
| 31 |
spaces
|
| 32 |
|
| 33 |
+
# --- Utilities ---
|
| 34 |
python-dotenv
|
| 35 |
|
|
|
|
| 36 |
# ---------- Databases ----------
|
| 37 |
mysqlclient
|
| 38 |
mysql-connector-python
|