mohammed-aljafry commited on
Commit
e918d70
·
verified ·
1 Parent(s): 117be98

Upload requirements.txt with huggingface_hub

Browse files
Files changed (1) hide show
  1. requirements.txt +28 -17
requirements.txt CHANGED
@@ -1,22 +1,33 @@
1
- # مكتبات الخادم الأساسية
2
- fastapi==0.104.1
3
- uvicorn[standard]==0.24.0
4
- python-multipart==0.0.6
5
- pydantic==2.4.2
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
- numpy==1.24.3
13
- opencv-python-headless==4.8.1.78
14
- Pillow==10.0.1
 
 
 
15
 
16
- # مكتبات إضافية للنموذج المحسن
17
- tqdm==4.66.1
18
- pathlib2==2.3.7
 
 
 
19
 
20
- # مكتبات اختيارية (يمكن تثبيتها حسب الحاجة)
21
- # wandb==0.15.12 # للمراقبة والتتبع
22
- timm==0.9.7 # لنماذج الرؤية الحاسوبية
 
 
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
+ # (فارغ الآن، كل شيء يتم تثبيته كاعتمادية)