moazzamdev commited on
Commit
ad690a5
·
verified ·
1 Parent(s): fbbab3d

Update page1.py

Browse files
Files changed (1) hide show
  1. page1.py +0 -6
page1.py CHANGED
@@ -76,12 +76,6 @@ def text():
76
  memory_key="history",
77
  chat_memory=st.session_state.chat_history
78
  )
79
- system_prompt = (
80
- "You are a compassionate and emotionally intelligent AI assistant trained in cognitive behavioral therapy (CBT), "
81
- "mindfulness, and active listening. You provide supportive, empathetic responses without making medical diagnoses. "
82
- "Use a warm tone and guide users to explore their feelings, reframe thoughts, and reflect gently."
83
- )
84
- st.session_state.chat_history.add_message(SystemMessage(content=system_prompt))
85
 
86
  llm = ChatGoogleGenerativeAI(
87
  model="gemini-2.5-flash",
 
76
  memory_key="history",
77
  chat_memory=st.session_state.chat_history
78
  )
 
 
 
 
 
 
79
 
80
  llm = ChatGoogleGenerativeAI(
81
  model="gemini-2.5-flash",