SamanthaStorm commited on
Commit
efdbc24
·
verified ·
1 Parent(s): 5a06bc7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
- surprise = emotion_profile.get("surprise", 0)
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()