Update app.py
Browse files
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 |
-
|
| 257 |
-
submit_info.click(submit_user_info, inputs=[name, occupation, yearsofexp, ethnicity, gender, age], outputs=
|
| 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_textbot = gr.Textbox(label="Status", scale = 2 ,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()
|