mouseland commited on
Commit
2e35a3d
·
verified ·
1 Parent(s): 22bab81

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -261,12 +261,13 @@ with gr.Blocks(title = "Hello",
261
  gr.HTML("""<h4 style="color:white;">You may need to refresh/login for 5 minutes of free GPU compute/day. </h4>""")
262
  gr.HTML("""<h4 style="color:white;">"pip install cellpose" for full functionality. </h4>""")
263
 
264
- input_image = gr.Image(label = "Input image", type = "filepath")
265
 
266
  with gr.Row():
267
  with gr.Column(scale=1):
268
  resize = gr.Number(label = 'max resize', value = 1000)
269
- gr.HTML("""<h4 style="color:white;"> Note: you can load and process tifs, but they won't display in the input field above. </h4>""")
 
270
  #filepath = gr.UploadButton("Upload (png, jpg, tif etc)", visible=True, file_count = "single")
271
 
272
  with gr.Column(scale=1):
 
261
  gr.HTML("""<h4 style="color:white;">You may need to refresh/login for 5 minutes of free GPU compute/day. </h4>""")
262
  gr.HTML("""<h4 style="color:white;">"pip install cellpose" for full functionality. </h4>""")
263
 
264
+ input_image = gr.Image(label = "Input", type = "filepath")
265
 
266
  with gr.Row():
267
  with gr.Column(scale=1):
268
  resize = gr.Number(label = 'max resize', value = 1000)
269
+ gr.HTML("""<h4 style="color:white;"> Note1: you can load and process tifs, but they won't display in the input field above. </h4>""")
270
+ 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>""")
271
  #filepath = gr.UploadButton("Upload (png, jpg, tif etc)", visible=True, file_count = "single")
272
 
273
  with gr.Column(scale=1):