Update app.py
Browse files
app.py
CHANGED
|
@@ -193,7 +193,7 @@ def cellpose_segment(filepath, resize = 1000):
|
|
| 193 |
fname_masks = os.path.splitext(filepath[j])[0]+"_masks.tif"
|
| 194 |
imsave(fname_masks, masks)
|
| 195 |
|
| 196 |
-
myzip.write(fname_masks)
|
| 197 |
|
| 198 |
|
| 199 |
#masks, flows, _ = model.eval(img, channels=[0,0])
|
|
|
|
| 193 |
fname_masks = os.path.splitext(filepath[j])[0]+"_masks.tif"
|
| 194 |
imsave(fname_masks, masks)
|
| 195 |
|
| 196 |
+
myzip.write(fname_masks, arcname = os.path.split(fname_masks)[-1])
|
| 197 |
|
| 198 |
|
| 199 |
#masks, flows, _ = model.eval(img, channels=[0,0])
|