mouseland commited on
Commit
218cd58
·
verified ·
1 Parent(s): aabd05b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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])