Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ from PIL import Image
|
|
7 |
from huggingface_hub import hf_hub_download
|
8 |
|
9 |
# Hugging Face'ten YOLO modelini indir
|
10 |
-
model_path = hf_hub_download("keremberke/yolov8n-pcb-defect-segmentation", "
|
11 |
|
12 |
# Modeli yükle
|
13 |
model = YOLO(model_path)
|
|
|
7 |
from huggingface_hub import hf_hub_download
|
8 |
|
9 |
# Hugging Face'ten YOLO modelini indir
|
10 |
+
model_path = hf_hub_download("keremberke/yolov8n-pcb-defect-segmentation", "best.pt")
|
11 |
|
12 |
# Modeli yükle
|
13 |
model = YOLO(model_path)
|