root commited on
Commit
92d528b
1 Parent(s): d44bf9b

add example

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -232,10 +232,10 @@ with gr.Blocks() as iface:
232
 
233
  examples = gr.Examples(
234
  examples=examples,
235
- inputs=[image_input, chat_input, sampling, temperature, len_penalty, rep_penalty, state],
236
- outputs=[chatbot, state],
237
- run_on_click=True,
238
- fn = inference_chat,
239
  )
240
 
241
  iface.queue(concurrency_count=1, api_open=False, max_size=10)
232
 
233
  examples = gr.Examples(
234
  examples=examples,
235
+ inputs=[image_input, chat_input],
236
+ # outputs=[chatbot, state],
237
+ # run_on_click=True,
238
+ # fn = inference_chat,
239
  )
240
 
241
  iface.queue(concurrency_count=1, api_open=False, max_size=10)