Update app.py
Browse files
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
|
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()
|