fffiloni commited on
Commit
66fee21
1 Parent(s): 11584ec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -328,9 +328,12 @@ with gr.Blocks(css=css) as demo:
328
 
329
  gr.Examples(
330
  examples = [
 
 
 
 
331
  ["examples/monalisa.png"],
332
  ["examples/santa.png"],
333
- ["examples/ocean_poet.jpeg"],
334
  ["examples/winter_hiking.png"],
335
  ["examples/teatime.jpeg"],
336
  ["examples/news_experts.jpeg"]
@@ -338,7 +341,8 @@ with gr.Blocks(css=css) as demo:
338
  fn = infer,
339
  inputs = [image_in, chosen_model],
340
  outputs = [caption, result],
341
- cache_examples = False
 
342
  )
343
 
344
  chosen_model.change(
 
328
 
329
  gr.Examples(
330
  examples = [
331
+ ["examples/ocean_poet.jpeg"],
332
+ ["examples/jasper_horace.jpeg"],
333
+ ["examples/summer.jpeg"],
334
+ ["examples/mona_diner.png"],
335
  ["examples/monalisa.png"],
336
  ["examples/santa.png"],
 
337
  ["examples/winter_hiking.png"],
338
  ["examples/teatime.jpeg"],
339
  ["examples/news_experts.jpeg"]
 
341
  fn = infer,
342
  inputs = [image_in, chosen_model],
343
  outputs = [caption, result],
344
+ cache_examples = False,
345
+ examples_per_page = 4
346
  )
347
 
348
  chosen_model.change(