Update app.py
Browse files
app.py
CHANGED
|
@@ -316,7 +316,7 @@ with gr.Blocks(title = "Hello",
|
|
| 316 |
sample_list = []
|
| 317 |
for j in range(23):
|
| 318 |
sample_list.append("samples/img%0.2d.png"%j)
|
| 319 |
-
gr.Examples(sample_list, fn = update_button, inputs=input_image, outputs = [up_btn, outlines, flows], examples_per_page=25, label = "Click on an example to try it")
|
| 320 |
|
| 321 |
input_image.upload(update_button, input_image, [up_btn, input_image, outlines, flows])
|
| 322 |
up_btn.upload(update_image, up_btn, [up_btn, input_image, outlines, flows])
|
|
|
|
| 316 |
sample_list = []
|
| 317 |
for j in range(23):
|
| 318 |
sample_list.append("samples/img%0.2d.png"%j)
|
| 319 |
+
gr.Examples(sample_list, fn = update_button, inputs=input_image, outputs = [up_btn, input_image, outlines, flows], examples_per_page=25, label = "Click on an example to try it")
|
| 320 |
|
| 321 |
input_image.upload(update_button, input_image, [up_btn, input_image, outlines, flows])
|
| 322 |
up_btn.upload(update_image, up_btn, [up_btn, input_image, outlines, flows])
|