ECUiVADE commited on
Commit
4301459
1 Parent(s): f330c8a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -271,7 +271,7 @@ with gr.Blocks() as app:
271
  agree_status = gr.Checkbox(label="I have read and understand the terms and conditions.")
272
  print(agree_status)
273
  #submit_info.click(submit_user_info, inputs=[name, occupation, yearsofexp, ethnicity, gender, age], outputs=[status_textbox])
274
- start_chat_button.click(start_chat_button_fn, inputs=[agree_status.value], outputs=[status_textbox])
275
 
276
  with gr.Tab("Chat Bot"):
277
  chatbot = gr.Chatbot()
 
271
  agree_status = gr.Checkbox(label="I have read and understand the terms and conditions.")
272
  print(agree_status)
273
  #submit_info.click(submit_user_info, inputs=[name, occupation, yearsofexp, ethnicity, gender, age], outputs=[status_textbox])
274
+ start_chat_button.click(start_chat_button_fn, inputs=[agree_status], outputs=[status_textbox])
275
 
276
  with gr.Tab("Chat Bot"):
277
  chatbot = gr.Chatbot()