Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -502,7 +502,7 @@ def analyze_single_message(text, thresholds):
|
|
502 |
)
|
503 |
|
504 |
# Tone tag must happen after abuse_score is finalized
|
505 |
-
tone_tag = get_emotional_tone_tag(emotion_profile, sentiment, threshold_labels, abuse_score
|
506 |
|
507 |
# Debug
|
508 |
print(f"Emotional Tone Tag: {tone_tag}")
|
|
|
502 |
)
|
503 |
|
504 |
# Tone tag must happen after abuse_score is finalized
|
505 |
+
tone_tag = get_emotional_tone_tag(emotion_profile, sentiment, threshold_labels, abuse_score)
|
506 |
|
507 |
# Debug
|
508 |
print(f"Emotional Tone Tag: {tone_tag}")
|