Spaces:
Runtime error
Runtime error
Commit
·
710a0e0
1
Parent(s):
0bbb42d
Updated desc and added source link
Browse files
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 |
-
|
| 82 |
|
| 83 |
-
|
| 84 |
|
| 85 |
-
|
| 86 |
|
| 87 |
-
|
| 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 |
|