Update app.py
Browse files
app.py
CHANGED
|
@@ -208,7 +208,7 @@ def cellpose_segment(filepath, resize = 1000):
|
|
| 208 |
#crand = .2 + .8 * np.random.rand(np.max(masks.flatten()).astype('int')+1,).astype('float32')
|
| 209 |
#crand[0] = 0
|
| 210 |
|
| 211 |
-
overlay = Image.fromarray(overlay)
|
| 212 |
flows = Image.fromarray(flows)
|
| 213 |
|
| 214 |
Ly, Lx = img.shape[:2]
|
|
|
|
| 208 |
#crand = .2 + .8 * np.random.rand(np.max(masks.flatten()).astype('int')+1,).astype('float32')
|
| 209 |
#crand[0] = 0
|
| 210 |
|
| 211 |
+
#overlay = Image.fromarray(overlay)
|
| 212 |
flows = Image.fromarray(flows)
|
| 213 |
|
| 214 |
Ly, Lx = img.shape[:2]
|