Update app.py
Browse files
app.py
CHANGED
|
@@ -308,7 +308,7 @@ with gr.Blocks(title = "Hello",
|
|
| 308 |
sample_list = []
|
| 309 |
for j in range(23):
|
| 310 |
sample_list.append("samples/img%0.2d.png"%j)
|
| 311 |
-
gr.Examples(sample_list, fn = update_button, inputs=input_image, outputs = up_btn, examples_per_page=25, label = "Click on an example to try it")
|
| 312 |
|
| 313 |
input_image.upload(update_button, input_image, [up_btn, img_outlines, flows])
|
| 314 |
up_btn.upload(update_image, up_btn, [input_image, img_outlines, flows])
|
|
|
|
| 308 |
sample_list = []
|
| 309 |
for j in range(23):
|
| 310 |
sample_list.append("samples/img%0.2d.png"%j)
|
| 311 |
+
gr.Examples(sample_list, fn = update_button, inputs=input_image, outputs = [up_btn, img_outlines, flows], examples_per_page=25, label = "Click on an example to try it")
|
| 312 |
|
| 313 |
input_image.upload(update_button, input_image, [up_btn, img_outlines, flows])
|
| 314 |
up_btn.upload(update_image, up_btn, [input_image, img_outlines, flows])
|