Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -130,7 +130,7 @@ ESCALATION_QUESTIONS = [
|
|
130 |
("Violence has increased in frequency or severity", 3),
|
131 |
("Partner monitors your calls/GPS/social media", 2)
|
132 |
]
|
133 |
-
tone_tag = get_emotional_tone_tag(emotion_profile, sentiment, threshold_labels, abuse_score)
|
134 |
sadness = emotions.get("sadness", 0)
|
135 |
joy = emotions.get("joy", 0)
|
136 |
neutral = emotions.get("neutral", 0)
|
|
|
130 |
("Violence has increased in frequency or severity", 3),
|
131 |
("Partner monitors your calls/GPS/social media", 2)
|
132 |
]
|
133 |
+
tone_tag = get_emotional_tone_tag(emotion_profile, sentiment, threshold_labels, abuse_score):
|
134 |
sadness = emotions.get("sadness", 0)
|
135 |
joy = emotions.get("joy", 0)
|
136 |
neutral = emotions.get("neutral", 0)
|