kenton-li commited on
Commit
096308a
·
1 Parent(s): 734274e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -6,6 +6,7 @@ from PIL import Image
6
  import cv2
7
 
8
  model_names = [
 
9
  "yolov8n-seg.pt",
10
  "yolov8s-seg.pt",
11
  "yolov8m-seg.pt",
@@ -13,7 +14,7 @@ model_names = [
13
  "yolov8x-seg.pt",
14
  ]
15
 
16
- current_model_name = "yolov8m-seg.pt"
17
  model = YOLO(current_model_name)
18
 
19
  def sort_instance_masks_by_centroid(instances_mask, reverse=False):
 
6
  import cv2
7
 
8
  model_names = [
9
+ "cell-seg.pt",
10
  "yolov8n-seg.pt",
11
  "yolov8s-seg.pt",
12
  "yolov8m-seg.pt",
 
14
  "yolov8x-seg.pt",
15
  ]
16
 
17
+ current_model_name = "cell-seg.pt"
18
  model = YOLO(current_model_name)
19
 
20
  def sort_instance_masks_by_centroid(instances_mask, reverse=False):