Update app.py
Browse files
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(
|
| 143 |
-
overlay = plot_overlay(
|
| 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]):
|