Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -60,7 +60,7 @@ def get_seg(image, object):
|
|
60 |
#blur_image_reverse_mask = blur_image*mask_array_three_channel_invert
|
61 |
seg_box=[]
|
62 |
for i in range(len(pred)):
|
63 |
-
object_number = int(object.split('_')[0])
|
64 |
mask_array = np.asarray(pred[i]['mask'])/255
|
65 |
image_array = np.asarray(image)
|
66 |
|
|
|
60 |
#blur_image_reverse_mask = blur_image*mask_array_three_channel_invert
|
61 |
seg_box=[]
|
62 |
for i in range(len(pred)):
|
63 |
+
#object_number = int(object.split('_')[0])
|
64 |
mask_array = np.asarray(pred[i]['mask'])/255
|
65 |
image_array = np.asarray(image)
|
66 |
|