Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -288,7 +288,7 @@ def get_emotional_tone_tag(emotions, sentiment, patterns, abuse_score):
|
|
288 |
(anger + sadness + disgust) > 0.6 and
|
289 |
sentiment == "undermining"
|
290 |
):
|
291 |
-
return "emotional instability"
|
292 |
|
293 |
return None
|
294 |
def detect_contradiction(message):
|
|
|
288 |
(anger + sadness + disgust) > 0.6 and
|
289 |
sentiment == "undermining"
|
290 |
):
|
291 |
+
return "emotional instability"
|
292 |
|
293 |
return None
|
294 |
def detect_contradiction(message):
|