mouseland commited on
Commit
f43ddd6
·
verified ·
1 Parent(s): 7798670

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -279,23 +279,23 @@ with gr.Blocks(title = "Hello",
279
  with gr.Row():
280
  with gr.Column(scale=1):
281
  resize = gr.Number(label = 'max resize', value = 1000)
282
- send_btn = gr.Button("Run Cellpose-SAM")
283
-
284
  #gr.HTML("""<h4 style="color:white;"> Note2: Only the first image of a tif will display the segmentations, but you can download segmentations for all planes. </h4>""")
285
 
286
  #filepath = gr.UploadButton("Upload (png, jpg, tif etc)", visible=True, file_count = "single")
287
 
288
 
289
  with gr.Column(scale=1):
 
290
  down_btn = gr.DownloadButton("Download masks (TIF)", visible=False)
291
  down_btn2 = gr.DownloadButton("Download outlines (PNG)", visible=False)
292
 
293
- img_outlines = gr.Image(label = "Outlines", type = "pil", format = 'png') #, width = "50vw", height = "20vw")
294
 
295
 
296
 
297
- with gr.Column(scale=2):
298
- img_overlay = gr.Image(label = "Overlay", type = "pil", format = 'png') #, width = "50vw", height = "20vw")
 
299
  flows = gr.Image(label = "Cellpose flows", type = "pil", format = 'png') #, width = "50vw", height = "20vw")
300
 
301
 
 
279
  with gr.Row():
280
  with gr.Column(scale=1):
281
  resize = gr.Number(label = 'max resize', value = 1000)
282
+
 
283
  #gr.HTML("""<h4 style="color:white;"> Note2: Only the first image of a tif will display the segmentations, but you can download segmentations for all planes. </h4>""")
284
 
285
  #filepath = gr.UploadButton("Upload (png, jpg, tif etc)", visible=True, file_count = "single")
286
 
287
 
288
  with gr.Column(scale=1):
289
+ send_btn = gr.Button("Run Cellpose-SAM")
290
  down_btn = gr.DownloadButton("Download masks (TIF)", visible=False)
291
  down_btn2 = gr.DownloadButton("Download outlines (PNG)", visible=False)
292
 
 
293
 
294
 
295
 
296
+ with gr.Column(scale=2):
297
+ img_outlines = gr.Image(label = "Outlines", type = "pil", format = 'png') #, width = "50vw", height = "20vw")
298
+ #img_overlay = gr.Image(label = "Overlay", type = "pil", format = 'png') #, width = "50vw", height = "20vw")
299
  flows = gr.Image(label = "Cellpose flows", type = "pil", format = 'png') #, width = "50vw", height = "20vw")
300
 
301