mouseland commited on
Commit
6aa6ed4
·
verified ·
1 Parent(s): 86aa2e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -121,7 +121,7 @@ def cellpose_segment(img_input):
121
  outpix = plot_outlines(img_input, masks)
122
  overlay = plot_overlay(img_input, masks)
123
 
124
- crand = .2 + .8 * np.random.rand(np.max(masks.flatten()).astype('int')+1, 'float32')
125
  crand[0] = 0
126
 
127
  overlay = Image.fromarray(overlay)
 
121
  outpix = plot_outlines(img_input, masks)
122
  overlay = plot_overlay(img_input, masks)
123
 
124
+ crand = .2 + .8 * np.random.rand(np.max(masks.flatten()).astype('int')+1,).astype('float32')
125
  crand[0] = 0
126
 
127
  overlay = Image.fromarray(overlay)