Upload folder using huggingface_hub
Browse files- 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 = "
|
| 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"
|