Update app.py
Browse files
app.py
CHANGED
|
@@ -252,7 +252,7 @@ with gr.Blocks(title = "Hello",
|
|
| 252 |
sample_list = []
|
| 253 |
for j in range(23):
|
| 254 |
sample_list.append("samples/img%0.2d.png"%j)
|
| 255 |
-
|
| 256 |
|
| 257 |
|
| 258 |
send_btn.click(fn=cellpose_segment, inputs=[input_image, resize], outputs=[img_outlines, img_overlay, flows, down_btn, down_btn2])
|
|
|
|
| 252 |
sample_list = []
|
| 253 |
for j in range(23):
|
| 254 |
sample_list.append("samples/img%0.2d.png"%j)
|
| 255 |
+
gr.Examples(sample_list, inputs=input_image, examples_per_page=25)
|
| 256 |
|
| 257 |
|
| 258 |
send_btn.click(fn=cellpose_segment, inputs=[input_image, resize], outputs=[img_outlines, img_overlay, flows, down_btn, down_btn2])
|