Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -334,7 +334,7 @@ def compute_abuse_score(matched_scores, sentiment):
|
|
334 |
return min(adjusted_score, 100)
|
335 |
def analyze_single_message(text, thresholds):
|
336 |
motif_hits, matched_phrases = detect_motifs(text)
|
337 |
-
|
338 |
|
339 |
# Derive sentiment from emotion intensity
|
340 |
tone_tag, emotion_profile = get_emotional_tone_and_profile(text)
|
|
|
334 |
return min(adjusted_score, 100)
|
335 |
def analyze_single_message(text, thresholds):
|
336 |
motif_hits, matched_phrases = detect_motifs(text)
|
337 |
+
|
338 |
|
339 |
# Derive sentiment from emotion intensity
|
340 |
tone_tag, emotion_profile = get_emotional_tone_and_profile(text)
|