AAAAAAyq commited on
Commit
1472255
1 Parent(s): fc4ad97

Add more cached examples

Browse files
Files changed (1) hide show
  1. app.py +5 -5
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
- # 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
  )
 
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
  )