Mtemel commited on
Commit
1b9c163
·
verified ·
1 Parent(s): f95373c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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", "yolov8n-pcb-defect-segmentation.pt")
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)