Spaces:
Running
Running
Update requirements.txt
Browse files- requirements.txt +48 -39
requirements.txt
CHANGED
|
@@ -1,39 +1,48 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
#
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
#
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
#
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
--extra-index-url https://download.pytorch.org/whl/cu121
|
| 3 |
+
torch==2.3.1+cu121
|
| 4 |
+
torchvision==0.18.1+cu121
|
| 5 |
+
torchaudio==2.3.1+cu121
|
| 6 |
+
|
| 7 |
+
# ---------- Core Python Packages ----------
|
| 8 |
+
numpy
|
| 9 |
+
pillow>=10.2
|
| 10 |
+
opencv-python-headless # headless to avoid X11 issues on Spaces
|
| 11 |
+
matplotlib
|
| 12 |
+
requests
|
| 13 |
+
tqdm
|
| 14 |
+
pypdf
|
| 15 |
+
|
| 16 |
+
# ---------- Deep Learning ----------
|
| 17 |
+
# TensorFlow MUST be CPU-only so it doesn't probe CUDA in main
|
| 18 |
+
tensorflow-cpu==2.15.* # pairs well with manylinux + avoids GPU init
|
| 19 |
+
transformers>=4.43,<5 # Qwen2-VL chat pipeline + fast processors
|
| 20 |
+
accelerate>=0.30
|
| 21 |
+
# bitsandbytes often fails on Spaces/ZeroGPU; REMOVE it unless you know you need it
|
| 22 |
+
# bitsandbytes
|
| 23 |
+
|
| 24 |
+
tf-keras # if your code imports tf_keras
|
| 25 |
+
|
| 26 |
+
# ---------- Hugging Face ----------
|
| 27 |
+
huggingface-hub>=0.23
|
| 28 |
+
sentence-transformers
|
| 29 |
+
|
| 30 |
+
# ---------- LangChain & RAG ----------
|
| 31 |
+
langchain>=0.1.14
|
| 32 |
+
faiss-cpu
|
| 33 |
+
pymupdf
|
| 34 |
+
langchain-community
|
| 35 |
+
|
| 36 |
+
# ---------- YOLO Detection ----------
|
| 37 |
+
ultralytics
|
| 38 |
+
|
| 39 |
+
# ---------- Gradio UI / Spaces ----------
|
| 40 |
+
gradio>=4.28.0
|
| 41 |
+
spaces>=0.19.4
|
| 42 |
+
|
| 43 |
+
# ---------- Logging & Utility ----------
|
| 44 |
+
python-dotenv
|
| 45 |
+
|
| 46 |
+
# ---------- Databases ----------
|
| 47 |
+
mysqlclient
|
| 48 |
+
mysql-connector-python
|