Update app.py
Browse files
app.py
CHANGED
|
@@ -336,7 +336,7 @@ with gr.Blocks(title = "Hello",
|
|
| 336 |
#for j in range(23):
|
| 337 |
# sample_list.append("samples/img%0.2d.png"%j)
|
| 338 |
|
| 339 |
-
gr.Examples(sample_list, fn = update_button, inputs=input_image, outputs = [input_image, up_btn, outlines, flows], examples_per_page=
|
| 340 |
input_image.upload(update_button, input_image, [input_image, up_btn, outlines, flows])
|
| 341 |
up_btn.upload(update_image, up_btn, [input_image, up_btn, outlines, flows])
|
| 342 |
|
|
|
|
| 336 |
#for j in range(23):
|
| 337 |
# sample_list.append("samples/img%0.2d.png"%j)
|
| 338 |
|
| 339 |
+
gr.Examples(sample_list, fn = update_button, inputs=input_image, outputs = [input_image, up_btn, outlines, flows], examples_per_page=50, label = "Click on an example to try it")
|
| 340 |
input_image.upload(update_button, input_image, [input_image, up_btn, outlines, flows])
|
| 341 |
up_btn.upload(update_image, up_btn, [input_image, up_btn, outlines, flows])
|
| 342 |
|