PR3DAT0R3 commited on
Commit
ccdb09a
·
verified ·
1 Parent(s): d54d1ef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +33 -9
app.py CHANGED
@@ -16,42 +16,66 @@ responses = {
16
  "sadness": [
17
  "It’s okay to feel down sometimes. I’m here to support you.",
18
  "I'm really sorry you're going through this. Want to talk more about it?",
19
- "You're not alone — I’m here for you."
 
 
 
20
  ],
21
  "anger": [
22
  "That must have been frustrating. Want to vent about it?",
23
  "It's okay to feel this way. I'm listening.",
24
- "Would it help to talk through it?"
 
 
 
25
  ],
26
  "love": [
27
  "That’s beautiful to hear! What made you feel that way?",
28
  "It’s amazing to experience moments like that.",
29
- "Sounds like something truly meaningful."
 
 
 
30
  ],
31
- "joy": [ # note: pipeline uses 'joy' instead of 'happiness'
32
  "That's awesome! What’s bringing you joy today?",
33
  "I love hearing good news. 😊",
34
- "Yay! Want to share more about it?"
 
 
 
35
  ],
36
  "surprise": [
37
  "Oh! That’s surprising. Tell me more!",
38
  "Wow, that’s unexpected!",
39
- "Sounds like something caught you off guard."
 
 
 
40
  ],
41
  "fear": [
42
  "I hear your concern. 😟",
43
  "It’s okay to feel anxious sometimes.",
44
- "I’m here with you."
 
 
 
45
  ],
46
  "disgust": [
47
  "That sounds upsetting. I'm here to listen.",
48
  "I understand that’s hard to hear.",
49
- "Let’s talk through what’s bothering you."
 
 
 
50
  ],
51
  "neutral": [
52
  "Got it. I’m here if you want to dive deeper.",
53
  "Thanks for sharing that. Tell me more if you’d like.",
54
- "I’m listening. How else can I support you?"
 
 
 
55
  ]
56
  }
57
 
 
16
  "sadness": [
17
  "It’s okay to feel down sometimes. I’m here to support you.",
18
  "I'm really sorry you're going through this. Want to talk more about it?",
19
+ "You're not alone — I’m here for you.",
20
+ "I hear you, and it’s perfectly valid to feel this way.",
21
+ "If you need a moment or someone to lean on, I’m right here.",
22
+ "It can help just to let it out—I'm listening whenever you’re ready."
23
  ],
24
  "anger": [
25
  "That must have been frustrating. Want to vent about it?",
26
  "It's okay to feel this way. I'm listening.",
27
+ "Would it help to talk through it?",
28
+ "I can sense how heated this is—let’s unpack it together.",
29
+ "It’s understandable to be upset. How can I best support you?",
30
+ "Sometimes simply naming the anger can help—what’s on your mind?"
31
  ],
32
  "love": [
33
  "That’s beautiful to hear! What made you feel that way?",
34
  "It’s amazing to experience moments like that.",
35
+ "Sounds like something truly meaningful.",
36
+ "That warmth must feel incredible—tell me more.",
37
+ "Your joy reminds me why connection matters so much.",
38
+ "That sounds like a moment to treasure forever!"
39
  ],
40
+ "joy": [
41
  "That's awesome! What’s bringing you joy today?",
42
  "I love hearing good news. 😊",
43
+ "Yay! Want to share more about it?",
44
+ "Your excitement is contagious—what’s the story?",
45
+ "That sparkle in your words is delightful!",
46
+ "Joy like that is worth celebrating—how can we keep it going?"
47
  ],
48
  "surprise": [
49
  "Oh! That’s surprising. Tell me more!",
50
  "Wow, that’s unexpected!",
51
+ "Sounds like something caught you off guard.",
52
+ "That’s quite the twist—what happened next?",
53
+ "I didn’t see that coming—how are you feeling about it?",
54
+ "That must have been a shock—want to unpack it together?"
55
  ],
56
  "fear": [
57
  "I hear your concern. 😟",
58
  "It’s okay to feel anxious sometimes.",
59
+ "I’m here with you.",
60
+ "That sounds unsettling—would talking it through help?",
61
+ "It’s normal to feel uneasy—let’s work through it at your pace.",
62
+ "You don’t have to face this alone."
63
  ],
64
  "disgust": [
65
  "That sounds upsetting. I'm here to listen.",
66
  "I understand that’s hard to hear.",
67
+ "Let’s talk through what’s bothering you.",
68
+ "That reaction makes total sense—do you want to explore it?",
69
+ "I’m sorry you had to experience that.",
70
+ "It’s okay to feel repelled—your feelings are valid."
71
  ],
72
  "neutral": [
73
  "Got it. I’m here if you want to dive deeper.",
74
  "Thanks for sharing that. Tell me more if you’d like.",
75
+ "I’m listening. How else can I support you?",
76
+ "Understood—feel free to elaborate whenever you’re ready.",
77
+ "Noted. What would you like to explore next?",
78
+ "I’m here with an open mind—let me know where to go from here."
79
  ]
80
  }
81