mouseland commited on
Commit
6b568f4
·
verified ·
1 Parent(s): 2d8800e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -261,7 +261,7 @@ with gr.Blocks(title = "Hello",
261
  sample_list.append("samples/img%0.2d.png"%j)
262
  gr.Examples(sample_list, inputs=input_image, examples_per_page=25)
263
 
264
- up_btn.upload(fn = upload_file, up_btn, input_image)
265
  send_btn.click(fn=cellpose_segment, inputs=[up_btn, resize], outputs=[img_outlines, img_overlay, flows, down_btn, down_btn2])
266
 
267
  #down_btn.click(download_function, None, [down_btn, down_btn2])
 
261
  sample_list.append("samples/img%0.2d.png"%j)
262
  gr.Examples(sample_list, inputs=input_image, examples_per_page=25)
263
 
264
+ up_btn.upload(upload_file, up_btn, input_image)
265
  send_btn.click(fn=cellpose_segment, inputs=[up_btn, resize], outputs=[img_outlines, img_overlay, flows, down_btn, down_btn2])
266
 
267
  #down_btn.click(download_function, None, [down_btn, down_btn2])