jaelin215 commited on
Commit
6df770d
1 Parent(s): 1765ebe

changed the sidebar text order

Browse files
Files changed (1) hide show
  1. app.py +10 -6
app.py CHANGED
@@ -342,13 +342,17 @@ if user_message:
342
  f"- Possible Mental Condition: {st.session_state.predicted_mental_category.capitalize()}"
343
  )
344
  st.write(f"- AI Tone: {st.session_state.ai_tone.capitalize()}")
345
- st.write(f"- Question retrieved from: {selected_retriever_option}")
 
 
 
 
 
346
  st.write(
347
- f"- If the user feels negative, moderately negative, or neutral, at the end of the AI response, it adds a mental health condition related question. The question is retrieved from DB. The categories of questions are limited to Depression, Anxiety, ADHD, Social Media Addiction, Social Isolation, and Cyberbullying which are most associated with FOMO related to excessive social media usage."
348
  )
 
349
  st.write(
350
- f"- Below q-table is continuously updated after each interaction with the user. If the user's mood increases, AI gets a reward. Else, AI gets a punishment."
351
  )
352
-
353
- # Display Q-table
354
- st.dataframe(display_q_table(chatbot.q_values, states, actions))
 
342
  f"- Possible Mental Condition: {st.session_state.predicted_mental_category.capitalize()}"
343
  )
344
  st.write(f"- AI Tone: {st.session_state.ai_tone.capitalize()}")
345
+
346
+
347
+ # Display Q-table
348
+ st.dataframe(display_q_table(chatbot.q_values, states, actions))
349
+
350
+ st.write("-----------------------")
351
  st.write(
352
+ f"- Above q-table is continuously updated after each interaction with the user. If the user's mood increases, AI gets a reward. Else, AI gets a punishment."
353
  )
354
+ st.write(f"- Question retrieved from: {selected_retriever_option}")
355
  st.write(
356
+ f"- If the user feels negative, moderately negative, or neutral, at the end of the AI response, it adds a mental health condition related question. The question is retrieved from DB. The categories of questions are limited to Depression, Anxiety, ADHD, Social Media Addiction, Social Isolation, and Cyberbullying which are most associated with FOMO related to excessive social media usage."
357
  )
358
+