ECUiVADE commited on
Commit
d9a6668
1 Parent(s): a711dda

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -268,7 +268,7 @@ with gr.Blocks() as app:
268
  #submit_info = gr.Button("Submit")
269
  start_chat_button = gr.Button("Start Chat with Chatlog")
270
  status_textbox = gr.Textbox(label="Status", interactive = False)
271
- agree_to_radio = gr.Radio(["I have read and understand the terms and conditions."]),
272
  #submit_info.click(submit_user_info, inputs=[name, occupation, yearsofexp, ethnicity, gender, age], outputs=[status_textbox])
273
  start_chat_button.click(submit_user_info, inputs=[agree_to_radio], outputs=[status_textbox])
274
 
 
268
  #submit_info = gr.Button("Submit")
269
  start_chat_button = gr.Button("Start Chat with Chatlog")
270
  status_textbox = gr.Textbox(label="Status", interactive = False)
271
+ agree_to_radio = gr.Checkbox(label="I have read and understand the terms and conditions.")
272
  #submit_info.click(submit_user_info, inputs=[name, occupation, yearsofexp, ethnicity, gender, age], outputs=[status_textbox])
273
  start_chat_button.click(submit_user_info, inputs=[agree_to_radio], outputs=[status_textbox])
274