peterkros commited on
Commit
6f7823e
·
verified ·
1 Parent(s): a91831e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -205,7 +205,7 @@ with gr.Blocks(css=css) as demo:
205
 
206
  btn.click(
207
  fn=process_response,
208
- inputs=[txt, gr.State(chat_history)],
209
  outputs=[chatbot, token_info, follow_up_questions_md, examples_state]
210
 
211
  )
 
205
 
206
  btn.click(
207
  fn=process_response,
208
+ inputs=[txt, gr.State(chat_history),gr.State(examples_state.value)],
209
  outputs=[chatbot, token_info, follow_up_questions_md, examples_state]
210
 
211
  )