Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -70,13 +70,12 @@ with gr.Blocks() as demo:
|
|
70 |
outputs=[original_image, segmented_image]
|
71 |
)
|
72 |
with gr.Row():
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
demo.launch(debug=True)
|
|
|
70 |
outputs=[original_image, segmented_image]
|
71 |
)
|
72 |
with gr.Row():
|
73 |
+
gr.Examples(
|
74 |
+
examples=EXAMPLES,
|
75 |
+
fn=process_image,
|
76 |
+
inputs=[input_image],
|
77 |
+
outputs=[original_image, segmented_image],
|
78 |
+
cache_examples=False,
|
79 |
+
run_on_click=True
|
80 |
+
)
|
|
|
81 |
demo.launch(debug=True)
|