Spaces:
Sleeping
Sleeping
Commit
·
07c1b75
1
Parent(s):
82bc0f0
Minor fix
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ if torch.cuda.is_available():
|
|
11 |
elif hasattr(torch.backends, "mps") and torch.backends.mps.is_available():
|
12 |
device = "mps"
|
13 |
|
14 |
-
model = FastSAM('./weights/FastSAM.pt')
|
15 |
model = model.to(device)
|
16 |
|
17 |
def inference(image, conf_thres, iou_thres,):
|
|
|
11 |
elif hasattr(torch.backends, "mps") and torch.backends.mps.is_available():
|
12 |
device = "mps"
|
13 |
|
14 |
+
model = FastSAM('./weights/FastSAM-x.pt')
|
15 |
model = model.to(device)
|
16 |
|
17 |
def inference(image, conf_thres, iou_thres,):
|