mouseland commited on
Commit
dd91aef
·
verified ·
1 Parent(s): 0cd5195

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -10
app.py CHANGED
@@ -279,11 +279,6 @@ 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
- gr.HTML("""<h4 style="color:white;"> Notes:<br>
283
- <li>you can load and process single-image tifs, but they won't display in the input field above.
284
- <li>the smallest dimension of a tif --> channels
285
- <li>you can load multiple files and download a zip of the segmentations
286
- </h4>""")
287
  #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>""")
288
 
289
  #filepath = gr.UploadButton("Upload (png, jpg, tif etc)", visible=True, file_count = "single")
@@ -300,11 +295,13 @@ with gr.Blocks(title = "Hello",
300
  img_overlay = gr.Image(label = "Overlay", type = "pil", format = 'png') #, width = "50vw", height = "20vw")
301
  flows = gr.Image(label = "Cellpose flows", type = "pil", format = 'png') #, width = "50vw", height = "20vw")
302
 
303
- with gr.Row():
304
- gr.HTML("""<a style="color:white; font-size:14pt;" href="https://github.com/MouseLand/cellpose" target="_blank">[github]</a>""")
305
- gr.HTML("""<a style="color:white; font-size:14pt;" href="https://github.com/MouseLand/cellpose" target="_blank">[paper]</a>""")
306
- gr.HTML("""<h4 style="color:white;">Install Cellpose-SAM locally for full functionality. </h4>""")
307
-
 
 
308
 
309
 
310
  sample_list = []
 
279
  with gr.Row():
280
  with gr.Column(scale=1):
281
  resize = gr.Number(label = 'max resize', value = 1000)
 
 
 
 
 
282
  #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>""")
283
 
284
  #filepath = gr.UploadButton("Upload (png, jpg, tif etc)", visible=True, file_count = "single")
 
295
  img_overlay = gr.Image(label = "Overlay", type = "pil", format = 'png') #, width = "50vw", height = "20vw")
296
  flows = gr.Image(label = "Cellpose flows", type = "pil", format = 'png') #, width = "50vw", height = "20vw")
297
 
298
+ gr.HTML("""<h4 style="color:white;"> Notes:<br>
299
+ <li>you can load and process single-image tifs, but they won't display in the input field above.
300
+ <li>the smallest dimension of a tif --> channels
301
+ <li>you can load multiple files and download a zip of the segmentations
302
+ <li>install Cellpose-SAM locally for full functionality.
303
+ </h4>""")
304
+
305
 
306
 
307
  sample_list = []