SamanthaStorm commited on
Commit
6a4d82f
·
verified ·
1 Parent(s): b78d05a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -279,7 +279,7 @@ def get_emotional_tone_tag(emotions, sentiment, patterns, abuse_score):
279
  if (
280
  (anger + disgust) > 0.5 and
281
  any(p in patterns for p in ["blame shifting", "projection", "deflection"]) and
282
- sentiment == "undermining
283
  ):
284
  return "forced accountability flip"
285
 
 
279
  if (
280
  (anger + disgust) > 0.5 and
281
  any(p in patterns for p in ["blame shifting", "projection", "deflection"]) and
282
+ sentiment == "undermining"
283
  ):
284
  return "forced accountability flip"
285