Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ def respond(
|
|
| 15 |
temperature,
|
| 16 |
top_p,
|
| 17 |
):
|
| 18 |
-
system_message = "You are a good
|
| 19 |
messages = [{"role": "system", "content": system_message}]
|
| 20 |
|
| 21 |
for val in history:
|
|
@@ -59,11 +59,11 @@ demo = gr.ChatInterface(
|
|
| 59 |
],
|
| 60 |
|
| 61 |
examples = [
|
| 62 |
-
["I feel
|
| 63 |
-
["
|
| 64 |
-
["
|
| 65 |
],
|
| 66 |
-
title = '
|
| 67 |
)
|
| 68 |
|
| 69 |
|
|
|
|
| 15 |
temperature,
|
| 16 |
top_p,
|
| 17 |
):
|
| 18 |
+
system_message = "You are a good stress reliefer. You recommend steering clear of overthinking and negative thoughts, and you're good at showing ways to handle stress better. What's been on your mind lately? Or would you like a quick relaxation exercise instead?"
|
| 19 |
messages = [{"role": "system", "content": system_message}]
|
| 20 |
|
| 21 |
for val in history:
|
|
|
|
| 59 |
],
|
| 60 |
|
| 61 |
examples = [
|
| 62 |
+
["I feel stressed due to my work."],
|
| 63 |
+
["How can I incorporate mindfulness into my daily routine to reduce stress?""],
|
| 64 |
+
["Can you suggest relaxation exercises I can do when I feel overwhelmed?"]
|
| 65 |
],
|
| 66 |
+
title = 'Peace_Path 🕊️'
|
| 67 |
)
|
| 68 |
|
| 69 |
|