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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -152,8 +152,8 @@ def cellpose_segment(img_input):
152
  #crand = .2 + .8 * np.random.rand(np.max(masks.flatten()).astype('int')+1,).astype('float32')
153
  #crand[0] = 0
154
 
155
- #overlay = Image.fromarray(overlay)
156
- #flows = Image.fromarray(flows)
157
  #masks = Image.fromarray(255. * crand[masks])
158
 
159
  pil_masks = Image.fromarray(masks.astype('int32'))
 
152
  #crand = .2 + .8 * np.random.rand(np.max(masks.flatten()).astype('int')+1,).astype('float32')
153
  #crand[0] = 0
154
 
155
+ overlay = Image.fromarray(overlay)
156
+ flows = Image.fromarray(flows)
157
  #masks = Image.fromarray(255. * crand[masks])
158
 
159
  pil_masks = Image.fromarray(masks.astype('int32'))