Spaces:
Sleeping
Sleeping
Isra Info commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ warnings.filterwarnings('ignore')
|
|
| 16 |
print("Loading YOLOv11 model from Hugging Face Hub...")
|
| 17 |
# !! غيّر "YOUR_USERNAME" إلى اسم المستخدم الحقيقي الخاص بك !!
|
| 18 |
model_path = hf_hub_download(
|
| 19 |
-
repo_id="
|
| 20 |
filename="best.pt"
|
| 21 |
)
|
| 22 |
model = YOLO(model_path)
|
|
|
|
| 16 |
print("Loading YOLOv11 model from Hugging Face Hub...")
|
| 17 |
# !! غيّر "YOUR_USERNAME" إلى اسم المستخدم الحقيقي الخاص بك !!
|
| 18 |
model_path = hf_hub_download(
|
| 19 |
+
repo_id="IsraInfo2004/drone-detection-yolov11", # <- غيّر هذا
|
| 20 |
filename="best.pt"
|
| 21 |
)
|
| 22 |
model = YOLO(model_path)
|