root commited on
Commit
c8765af
1 Parent(s): 21e0a1c

update example to run on click

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -231,6 +231,8 @@ with gr.Blocks() as iface:
231
  examples = gr.Examples(
232
  examples=examples,
233
  inputs=[image_input, chat_input],
 
 
234
  )
235
 
236
  iface.queue(concurrency_count=1, api_open=False, max_size=10)
 
231
  examples = gr.Examples(
232
  examples=examples,
233
  inputs=[image_input, chat_input],
234
+ examples=True,
235
+ fn = inference_chat,
236
  )
237
 
238
  iface.queue(concurrency_count=1, api_open=False, max_size=10)