sumit-ai-ml commited on
Commit
37e59b4
·
1 Parent(s): 438b834

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -62,7 +62,7 @@ def segment_image(input_image):
62
 
63
  fmask = masks_[0].astype(int)
64
 
65
- resized_mask1 =cv2.resize(fmask[0], (target_width, target_height))
66
  resized_mask1 = (resized_mask1 * 255).astype(np.uint8)
67
 
68
  overlay_image1 = img.copy()
 
62
 
63
  fmask = masks_[0].astype(int)
64
 
65
+ resized_mask1 =cv2.resize(fmask, (target_width, target_height))
66
  resized_mask1 = (resized_mask1 * 255).astype(np.uint8)
67
 
68
  overlay_image1 = img.copy()