fffiloni commited on
Commit
306eb01
1 Parent(s): dd3e56b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -0
app.py CHANGED
@@ -96,6 +96,17 @@ with gr.Blocks(css=css) as demo:
96
  max_lines = 30,
97
  elem_id = "suggested-system-prompt"
98
  )
 
 
 
 
 
 
 
 
 
 
 
99
 
100
  submit_btn.click(
101
  fn = infer,
 
96
  max_lines = 30,
97
  elem_id = "suggested-system-prompt"
98
  )
99
+ with gr.Row():
100
+ gr.Examples(
101
+ examples = [
102
+ ["examples/ocean_poet.jpeg"],
103
+ ["examples/winter_hiking.png"]
104
+ ],
105
+ fn = infer,
106
+ inputs = [image_in],
107
+ outputs = [result],
108
+ cache_examples = True
109
+ )
110
 
111
  submit_btn.click(
112
  fn = infer,