fbeckk commited on
Commit
56c57a4
·
unverified ·
1 Parent(s): 6f61512

feat(app): test

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -92,7 +92,7 @@ if uploaded_file is not None:
92
 
93
  st.write(cp_mask.shape, img_input_cellpose.shape)
94
 
95
- cp_overlay = (label2rgb(cp_mask, image=img_input_cellpose, bg_label=0) * 255).astype(
96
  np.uint8)
97
  cellpose_img_container.image(cp_overlay)
98
 
 
92
 
93
  st.write(cp_mask.shape, img_input_cellpose.shape)
94
 
95
+ cp_overlay = (label2rgb(np.expand_dims(cp_mask, axis=-1), image=img_input_cellpose[0], bg_label=0) * 255).astype(
96
  np.uint8)
97
  cellpose_img_container.image(cp_overlay)
98