Spaces:
Sleeping
Sleeping
Upload requirements.txt with huggingface_hub
Browse files- requirements.txt +28 -17
requirements.txt
CHANGED
|
@@ -1,22 +1,33 @@
|
|
| 1 |
-
#
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
|
|
|
|
|
|
|
|
|
| 8 |
torch==2.1.0 --extra-index-url https://download.pytorch.org/whl/cpu
|
| 9 |
torchvision==0.16.0 --extra-index-url https://download.pytorch.org/whl/cpu
|
|
|
|
| 10 |
|
| 11 |
-
#
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
|
|
|
|
|
|
|
|
|
| 15 |
|
| 16 |
-
#
|
| 17 |
-
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
| 19 |
|
| 20 |
-
#
|
| 21 |
-
#
|
| 22 |
-
|
|
|
|
|
|
| 1 |
+
# ==================================
|
| 2 |
+
# مكتبات الواجهة والخادم
|
| 3 |
+
# ==================================
|
| 4 |
+
gradio
|
| 5 |
+
uvicorn[standard]
|
| 6 |
+
python-multipart
|
| 7 |
+
requests
|
| 8 |
+
# ==================================
|
| 9 |
+
# مكتبات التعلم العميق
|
| 10 |
+
# ==================================
|
| 11 |
torch==2.1.0 --extra-index-url https://download.pytorch.org/whl/cpu
|
| 12 |
torchvision==0.16.0 --extra-index-url https://download.pytorch.org/whl/cpu
|
| 13 |
+
timm
|
| 14 |
|
| 15 |
+
# ==================================
|
| 16 |
+
# مكتبات Hugging Face
|
| 17 |
+
# ==================================
|
| 18 |
+
transformers
|
| 19 |
+
accelerate
|
| 20 |
+
safetensors
|
| 21 |
+
huggingface_hub # ضروري لـ hf_hub_download
|
| 22 |
|
| 23 |
+
# ==================================
|
| 24 |
+
# مكتبات معالجة البيانات والصور
|
| 25 |
+
# ==================================
|
| 26 |
+
numpy<2.0 # <-- الإصلاح الأهم: تقييد إصدار NumPy
|
| 27 |
+
opencv-python-headless
|
| 28 |
+
Pillow
|
| 29 |
|
| 30 |
+
# ==================================
|
| 31 |
+
# مكتبات مساعدة
|
| 32 |
+
# ==================================
|
| 33 |
+
# (فارغ الآن، كل شيء يتم تثبيته كاعتمادية)
|