SamanthaStorm commited on
Commit
ce94cd4
·
verified ·
1 Parent(s): 285248d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
- emotion_profile = get_emotion_profile(text)
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)