feat(app): test
Browse files
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 |
|