Spaces:
Running
on
Zero
Running
on
Zero
gokaygokay
commited on
Commit
•
c5349e7
1
Parent(s):
586f1d5
Update app.py
Browse files
app.py
CHANGED
@@ -51,4 +51,17 @@ with gr.Blocks() as demo:
|
|
51 |
outputs=output_slider
|
52 |
)
|
53 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
demo.launch(debug=True)
|
|
|
51 |
outputs=output_slider
|
52 |
)
|
53 |
|
54 |
+
# Add examples
|
55 |
+
gr.Examples(
|
56 |
+
examples=[
|
57 |
+
"image1.png",
|
58 |
+
"image2.png",
|
59 |
+
"image3.png"
|
60 |
+
],
|
61 |
+
inputs=input_image,
|
62 |
+
outputs=output_slider,
|
63 |
+
fn=cached_process_image,
|
64 |
+
cache_examples=True
|
65 |
+
)
|
66 |
+
|
67 |
demo.launch(debug=True)
|