Spaces:
Running
on
Zero
Running
on
Zero
Add example
Browse files
app.py
CHANGED
@@ -42,5 +42,15 @@ with gr.Blocks() as demo:
|
|
42 |
button.click(
|
43 |
run_tasks, inputs=[input_image, task], outputs=[output_image]
|
44 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
|
46 |
demo.launch()
|
|
|
42 |
button.click(
|
43 |
run_tasks, inputs=[input_image, task], outputs=[output_image]
|
44 |
)
|
45 |
+
|
46 |
+
gr.Examples(
|
47 |
+
examples=[
|
48 |
+
["input/for_debluring.png", ["deblurring"]],
|
49 |
+
],
|
50 |
+
inputs=[input_image, task],
|
51 |
+
outputs=[output_image],
|
52 |
+
fn=run_tasks,
|
53 |
+
cache_examples="lazy",
|
54 |
+
)
|
55 |
|
56 |
demo.launch()
|