EMMA commited on
Commit
1740bed
·
1 Parent(s): d531ae9

update code

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -914,6 +914,7 @@ body:has(.progress-level)::before {
914
  gr.update(open=False),
915
  gr.update(choices=[], value=None),
916
  gr.update(value=[]),
 
917
  )
918
 
919
  def handle_chat(user_message, state):
@@ -1179,7 +1180,7 @@ body:has(.progress-level)::before {
1179
  switch_user_btn.click(
1180
  switch_user,
1181
  inputs=[state],
1182
- outputs=[login_page, registration_fields, chat_page, login_status, username_input, password_input, state, chatbot, age_input, gender_input, occupation_input, residence_input, system_msg, history_sidebar, session_radio, history_viewer],
1183
  )
1184
 
1185
  submit_btn.click(
 
914
  gr.update(open=False),
915
  gr.update(choices=[], value=None),
916
  gr.update(value=[]),
917
+ gr.update(value="<h2 style='text-align: center; color: #333;'>🧠 EMMA: Session</h2>"),
918
  )
919
 
920
  def handle_chat(user_message, state):
 
1180
  switch_user_btn.click(
1181
  switch_user,
1182
  inputs=[state],
1183
+ outputs=[login_page, registration_fields, chat_page, login_status, username_input, password_input, state, chatbot, age_input, gender_input, occupation_input, residence_input, system_msg, history_sidebar, session_radio, history_viewer, active_header],
1184
  )
1185
 
1186
  submit_btn.click(