ECUiVADE commited on
Commit
29b4943
1 Parent(s): d9a6668

Update app.py

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