LPX55 commited on
Commit
014dfe3
·
verified ·
1 Parent(s): fb4554b

Update sam2_mask.py

Browse files
Files changed (1) hide show
  1. 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.value}")
116
- print(f"Labels: {labels.value}")
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