mouseland commited on
Commit
6ba53a6
·
verified ·
1 Parent(s): fc03022

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -135,11 +135,11 @@ with gr.Blocks(title = "Hello",
135
  input_image = gr.Image(label = "Input image", type = "numpy")
136
  send_btn = gr.Button("Run Cellpose-SAM")
137
 
138
- with gr.Column(scale=1):
139
- img_outlines = gr.Image(label = "Output image", type = "numpy")
140
- masks = gr.Image(label = "Output image", type = "numpy")
141
  img_overlay = gr.Image(label = "Output image", type = "numpy")
 
142
  flows = gr.Image(label = "Output image", type = "numpy")
 
143
 
144
 
145
  send_btn.click(fn=cellpose_segment, inputs=[input_image], outputs=[img_outlines, img_overlay, flows, masks])
 
135
  input_image = gr.Image(label = "Input image", type = "numpy")
136
  send_btn = gr.Button("Run Cellpose-SAM")
137
 
138
+ with gr.Column(scale=1):
 
 
139
  img_overlay = gr.Image(label = "Output image", type = "numpy")
140
+ img_outlines = gr.Image(label = "Output image", type = "numpy")
141
  flows = gr.Image(label = "Output image", type = "numpy")
142
+ masks = gr.Image(label = "Output image", type = "numpy")
143
 
144
 
145
  send_btn.click(fn=cellpose_segment, inputs=[input_image], outputs=[img_outlines, img_overlay, flows, masks])