mouseland commited on
Commit
fa3e72c
·
verified ·
1 Parent(s): e273c25

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -308,7 +308,7 @@ with gr.Blocks(title = "Hello",
308
  sample_list.append("samples/img%0.2d.png"%j)
309
  gr.Examples(sample_list, inputs=input_image, examples_per_page=25, label = "Click on an example to try it")
310
 
311
- input_image.change(update_image, input_image, up_btn)
312
  up_btn.upload(upload_file, up_btn, input_image)
313
  send_btn.click(cellpose_segment, [up_btn, resize], [img_outlines, flows, down_btn, down_btn2])
314
 
 
308
  sample_list.append("samples/img%0.2d.png"%j)
309
  gr.Examples(sample_list, inputs=input_image, examples_per_page=25, label = "Click on an example to try it")
310
 
311
+ input_image.upload(update_image, input_image, up_btn)
312
  up_btn.upload(upload_file, up_btn, input_image)
313
  send_btn.click(cellpose_segment, [up_btn, resize], [img_outlines, flows, down_btn, down_btn2])
314