Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -67,7 +67,7 @@ def sam_process(input_image):
|
|
67 |
image = np.array(image.convert("RGB"))
|
68 |
|
69 |
sam2_checkpoint = "./checkpoints/sam2_hiera_tiny.pt"
|
70 |
-
model_cfg = "
|
71 |
|
72 |
sam2_model = build_sam2(model_cfg, sam2_checkpoint, device="cuda")
|
73 |
|
|
|
67 |
image = np.array(image.convert("RGB"))
|
68 |
|
69 |
sam2_checkpoint = "./checkpoints/sam2_hiera_tiny.pt"
|
70 |
+
model_cfg = "sam2_hiera_t.yaml"
|
71 |
|
72 |
sam2_model = build_sam2(model_cfg, sam2_checkpoint, device="cuda")
|
73 |
|