SamanthaStorm commited on
Commit
d4d856f
·
verified ·
1 Parent(s): 2304a5e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +40,7 @@ THRESHOLDS = {
40
  }
41
 
42
  # ——— 3) Emotional-tone tagging (no abuse_score / DARVO) —————————————————————————————
43
- def get_emotional_tone_tag(emotion_profile, patterns):
44
  anger = emotion_profile.get("anger", 0)
45
  disgust = emotion_profile.get("disgust", 0)
46
  sadness = emotion_profile.get("sadness", 0)
 
40
  }
41
 
42
  # ——— 3) Emotional-tone tagging (no abuse_score / DARVO) —————————————————————————————
43
+ def get_tone_tag(emotion_profile, patterns):
44
  anger = emotion_profile.get("anger", 0)
45
  disgust = emotion_profile.get("disgust", 0)
46
  sadness = emotion_profile.get("sadness", 0)