SamanthaStorm commited on
Commit
640d9ed
·
verified ·
1 Parent(s): f8d83a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -125,8 +125,6 @@ def analyze_messages(input_text, risk_flags):
125
  phrase_labels = [label for label, _ in matched_phrases]
126
  pattern_labels_used = list(set(threshold_labels + phrase_labels))
127
 
128
- )
129
-
130
  abuse_level = calculate_abuse_level(scores, adjusted_thresholds, motif_hits=[label for label, _ in matched_phrases])
131
  abuse_description = interpret_abuse_level(abuse_level)
132
  # Escalate risk if user checks a critical context box
 
125
  phrase_labels = [label for label, _ in matched_phrases]
126
  pattern_labels_used = list(set(threshold_labels + phrase_labels))
127
 
 
 
128
  abuse_level = calculate_abuse_level(scores, adjusted_thresholds, motif_hits=[label for label, _ in matched_phrases])
129
  abuse_description = interpret_abuse_level(abuse_level)
130
  # Escalate risk if user checks a critical context box