Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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 |
|