jaelin215 commited on
Commit
8336395
1 Parent(s): f371851

updated path. llama_guard False by default

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -70,13 +70,13 @@ if "ai_tone" not in st.session_state:
70
  st.session_state.ai_tone = "Empathy"
71
  if "mood_trend_symbol" not in st.session_state:
72
  st.session_state.mood_trend_symbol = ""
73
- if "show_question" not in st.session_state:
74
  st.session_state.show_question = False
75
  if "asked_questions" not in st.session_state:
76
  st.session_state.asked_questions = []
77
  # Check if 'llama_guard_enabled' is already in session state, otherwise initialize it
78
  if "llama_guard_enabled" not in st.session_state:
79
- st.session_state["llama_guard_enabled"] = True # Default value to True
80
 
81
  # Select Question Retriever
82
  selected_retriever_option = st.sidebar.selectbox(
 
70
  st.session_state.ai_tone = "Empathy"
71
  if "mood_trend_symbol" not in st.session_state:
72
  st.session_state.mood_trend_symbol = ""
73
+ if "show_question" not in st.session_state
74
  st.session_state.show_question = False
75
  if "asked_questions" not in st.session_state:
76
  st.session_state.asked_questions = []
77
  # Check if 'llama_guard_enabled' is already in session state, otherwise initialize it
78
  if "llama_guard_enabled" not in st.session_state:
79
+ st.session_state["llama_guard_enabled"] = False # Default value to False
80
 
81
  # Select Question Retriever
82
  selected_retriever_option = st.sidebar.selectbox(