mouseland commited on
Commit
8a8ccfd
·
verified ·
1 Parent(s): 644bb2c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -139,8 +139,8 @@ def cellpose_segment(img_input):
139
  # masks = np.zeros(img.shape[:2])
140
  # flows = np.zeros_like(img)
141
 
142
- outpix = plot_outlines(img_input, masks)
143
- overlay = plot_overlay(img_input, masks)
144
 
145
  target_size = (img_input.shape[1], img_input.shape[0])
146
  if (target_size[0]!=img.shape[1] or target_size[1]!=img.shape[0]):
 
139
  # masks = np.zeros(img.shape[:2])
140
  # flows = np.zeros_like(img)
141
 
142
+ outpix = plot_outlines(img, masks)
143
+ overlay = plot_overlay(img, masks)
144
 
145
  target_size = (img_input.shape[1], img_input.shape[0])
146
  if (target_size[0]!=img.shape[1] or target_size[1]!=img.shape[0]):