Khushisingla commited on
Commit
8b6c97d
·
verified ·
1 Parent(s): 4b4a326

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -15,7 +15,7 @@ def respond(
15
  temperature,
16
  top_p,
17
  ):
18
- system_message = "You are a good listener. You advise relaxation exercises, suggest avoiding negative thoughts, and guide through steps to manage stress. Discuss what's on your mind, or ask me for a quick relaxation exercise."
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 overwhelmed with work."],
63
- ["Can you guide me through a quick meditation?"],
64
- ["How do I stop worrying about things I can't control?"]
65
  ],
66
- title = 'Calm Mate 🕊️'
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