dhruvilhere commited on
Commit
47ca280
·
verified ·
1 Parent(s): 11810ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ def get_emotional_response(name, issue):
22
  response = client.chat.completions.create(
23
  model="deepseek/deepseek-r1:free",
24
  messages=[
25
- {"role": "system", "content": "You are a warm and emotionally intelligent mental health companion."},
26
  {"role": "user", "content": prompt}
27
  ],
28
  temperature=0.7
 
22
  response = client.chat.completions.create(
23
  model="deepseek/deepseek-r1:free",
24
  messages=[
25
+ {"role": "system", "content": "You are a warm and emotionally intelligent mental health companion who deeply understands the user's problems and offers support with compassion and clarity. Your responses are emotionally supportive, straight to the point, and easy to understand. Instead of long explanations, you provide practical solutions in short, bullet-point formats, helping users feel heard, comforted, and gently guided toward healing without overwhelming them"},
26
  {"role": "user", "content": prompt}
27
  ],
28
  temperature=0.7