dk-crazydiv commited on
Commit
710a0e0
·
1 Parent(s): 0bbb42d

Updated desc and added source link

Browse files
Files changed (1) hide show
  1. app.py +4 -6
app.py CHANGED
@@ -78,14 +78,12 @@ if st.button('Reframe'):
78
  ---
79
  Growth Mindset: Viewing a challenging event as an opportunity to grow and improve
80
 
81
- Impermanence: Viewing situations, good or bad, as impermanent, don’t last forever
82
 
83
- Neutralizing: Replacing a negative emotions with a neutral one
84
 
85
- Optimism: Focussing on positivve things in the present moment, rather than uncertainity of the future
86
 
87
- Self-affirmation: Focussing on strengths and values, and confidence to face challenges
88
-
89
- Thankfulness: Expressing thankfulness or gratitude for the blessings
90
  '''
91
 
 
78
  ---
79
  Growth Mindset: Viewing a challenging event as an opportunity to grow and improve
80
 
81
+ Remove Negations: Positive way of saying things. It's not a bad idea -> It's a good idea.
82
 
83
+ Self Affirmation: Reprhase the sentence in a affirmation
84
 
85
+ Detect Rhetoric: Detect if the questions asked are sincere or just rhetorical. eg: Are you kidding me?
86
 
87
+ This is a Cohere API powered implementation, taking inspiration from a custom model around positive reframing available [here](https://huggingface.co/spaces/Ella2323/Positive-Reframing)
 
 
88
  '''
89