Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -105,7 +105,7 @@ def get_emotional_tone_tag(emotion_profile, patterns, text_lower):
|
|
| 105 |
disgust = emotion_profile.get("disgust", 0)
|
| 106 |
anger = emotion_profile.get("anger", 0)
|
| 107 |
fear = emotion_profile.get("fear", 0)
|
| 108 |
-
|
| 109 |
|
| 110 |
# NRC-EmoLex counts
|
| 111 |
words = text_lower.split()
|
|
|
|
| 105 |
disgust = emotion_profile.get("disgust", 0)
|
| 106 |
anger = emotion_profile.get("anger", 0)
|
| 107 |
fear = emotion_profile.get("fear", 0)
|
| 108 |
+
|
| 109 |
|
| 110 |
# NRC-EmoLex counts
|
| 111 |
words = text_lower.split()
|