carsen-stringer commited on
Commit
6e2a82e
·
1 Parent(s): 3be231a

remove outlines for now

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -80,13 +80,13 @@ def cellpose_segment(img):
80
  outpix = plot_outlines(masks)
81
  overlay = plot_overlay(img, masks)
82
 
83
- return outpix, overlay, flows, masks
84
 
85
  # Gradio Interface
86
  iface = gr.Interface(
87
  fn=cellpose_segment,
88
  inputs="image",
89
- outputs=["image", "image", "image", "image"],
90
  title="cellpose segmentation",
91
  description="upload an image, then cellpose will segment it at a max size of 224x224"
92
  )
 
80
  outpix = plot_outlines(masks)
81
  overlay = plot_overlay(img, masks)
82
 
83
+ return overlay, flows, masks
84
 
85
  # Gradio Interface
86
  iface = gr.Interface(
87
  fn=cellpose_segment,
88
  inputs="image",
89
+ outputs=["image", "image", "image"],
90
  title="cellpose segmentation",
91
  description="upload an image, then cellpose will segment it at a max size of 224x224"
92
  )