ECUiVADE commited on
Commit
30ea3ec
1 Parent(s): 86c5796

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -253,8 +253,8 @@ with gr.Blocks() as app:
253
  gender = gr.Dropdown(choices=["Male", "Female", "Other", "Prefer Not To Say"], label="Gender")
254
  age = gr.Textbox(label="Age")
255
  submit_info = gr.Button("Submit")
256
- status_textbot = gr.Textbox(label="Status", interactive = False),
257
- submit_info.click(submit_user_info, inputs=[name, occupation, yearsofexp, ethnicity, gender, age], outputs=[status_textbot])
258
 
259
  with gr.Tab("Chat Bot"):
260
  chatbot = gr.Chatbot()
 
253
  gender = gr.Dropdown(choices=["Male", "Female", "Other", "Prefer Not To Say"], label="Gender")
254
  age = gr.Textbox(label="Age")
255
  submit_info = gr.Button("Submit")
256
+ status_textbox = gr.Textbox(label="Status", interactive = False)
257
+ submit_info.click(submit_user_info, inputs=[name, occupation, yearsofexp, ethnicity, gender, age], outputs=[status_textbox])
258
 
259
  with gr.Tab("Chat Bot"):
260
  chatbot = gr.Chatbot()