Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|