root commited on
Commit
0baea79
1 Parent(s): 798b219

update example to run on click

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -230,7 +230,7 @@ with gr.Blocks() as iface:
230
 
231
  examples = gr.Examples(
232
  examples=examples,
233
- inputs=[image_input, chat_input],
234
  run_on_click=True,
235
  fn = inference_chat,
236
  )
 
230
 
231
  examples = gr.Examples(
232
  examples=examples,
233
+ inputs=[image_input, chat_input, sampling, temperature, len_penalty, rep_penalty, state],
234
  run_on_click=True,
235
  fn = inference_chat,
236
  )