ED-Demo commited on
Commit
355f90d
·
verified ·
1 Parent(s): 2c2487b

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -7,7 +7,7 @@ import torch
7
  import os
8
  class EndpointHandler:
9
  def __init__(self, path=""):
10
- model_path = "yolov11n.pt"
11
  # Select device
12
  if torch.backends.mps.is_available():
13
  self.device = "mps"
 
7
  import os
8
  class EndpointHandler:
9
  def __init__(self, path=""):
10
+ model_path = "yolo11n-seg.pt"
11
  # Select device
12
  if torch.backends.mps.is_available():
13
  self.device = "mps"