Spaces:
Running
on
Zero
Running
on
Zero
Update sam2_mask.py
Browse files- sam2_mask.py +2 -2
sam2_mask.py
CHANGED
@@ -112,8 +112,8 @@ def show_masks(image, masks, scores, point_coords=None, box_coords=None, input_l
|
|
112 |
@spaces.GPU()
|
113 |
def sam_process(original_image, points, labels):
|
114 |
|
115 |
-
print(f"Points: {points
|
116 |
-
print(f"Labels: {labels
|
117 |
image = Image.open(original_image)
|
118 |
image = np.array(image.convert("RGB"))
|
119 |
|
|
|
112 |
@spaces.GPU()
|
113 |
def sam_process(original_image, points, labels):
|
114 |
|
115 |
+
print(f"Points: {points}")
|
116 |
+
print(f"Labels: {labels}")
|
117 |
image = Image.open(original_image)
|
118 |
image = np.array(image.convert("RGB"))
|
119 |
|