Update app.py
Browse files
app.py
CHANGED
@@ -283,9 +283,10 @@ with gr.Blocks() as app:
|
|
283 |
|
284 |
print(agree_status)
|
285 |
#submit_info.click(submit_user_info, inputs=[name, occupation, yearsofexp, ethnicity, gender, age], outputs=[status_textbox])
|
|
|
286 |
start_chat_button.click(start_chat_button_fn, inputs=[agree_status], outputs=[status_label])
|
287 |
status_textbox = gr.Textbox(interactive = False)
|
288 |
-
|
289 |
|
290 |
with gr.Tab("Chat Bot"):
|
291 |
chatbot = gr.Chatbot()
|
|
|
283 |
|
284 |
print(agree_status)
|
285 |
#submit_info.click(submit_user_info, inputs=[name, occupation, yearsofexp, ethnicity, gender, age], outputs=[status_textbox])
|
286 |
+
status_label = gr.Markdown()
|
287 |
start_chat_button.click(start_chat_button_fn, inputs=[agree_status], outputs=[status_label])
|
288 |
status_textbox = gr.Textbox(interactive = False)
|
289 |
+
|
290 |
|
291 |
with gr.Tab("Chat Bot"):
|
292 |
chatbot = gr.Chatbot()
|