Spaces:
Running
on
T4
Running
on
T4
AAAAAAyq
commited on
Commit
•
1472255
1
Parent(s):
fc4ad97
Add more cached examples
Browse files
app.py
CHANGED
@@ -182,12 +182,12 @@ app_interface = gr.Interface(fn=predict,
|
|
182 |
gr.components.Checkbox(value=True, label='high_visual_quality')],
|
183 |
# outputs=['plot'],
|
184 |
outputs=gr.Image(type='pil'),
|
185 |
-
examples=[["assets/sa_8776.jpg"]],
|
186 |
# # ["assets/sa_1309.jpg", 1024]],
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
cache_examples=True,
|
192 |
title="Fast Segment Anything (Everything mode)"
|
193 |
)
|
|
|
182 |
gr.components.Checkbox(value=True, label='high_visual_quality')],
|
183 |
# outputs=['plot'],
|
184 |
outputs=gr.Image(type='pil'),
|
185 |
+
# examples=[["assets/sa_8776.jpg"]],
|
186 |
# # ["assets/sa_1309.jpg", 1024]],
|
187 |
+
examples=[["assets/sa_192.jpg"], ["assets/sa_414.jpg"],
|
188 |
+
["assets/sa_561.jpg"], ["assets/sa_862.jpg"],
|
189 |
+
["assets/sa_1309.jpg"], ["assets/sa_8776.jpg"],
|
190 |
+
["assets/sa_10039.jpg"], ["assets/sa_11025.jpg"],],
|
191 |
cache_examples=True,
|
192 |
title="Fast Segment Anything (Everything mode)"
|
193 |
)
|