SamanthaStorm commited on
Commit
5c011d6
·
verified ·
1 Parent(s): 523bde7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -218,7 +218,6 @@ def generate_risk_snippet(abuse_score, top_label, escalation_score, stage):
218
  base += f"\nDetected Pattern: **{pattern_label} ({pattern_score})**\n"
219
  base += "🧠 You can review the pattern in context. This tool highlights possible dynamics—not judgments."
220
 
221
- return base
222
  def compute_abuse_score(matched_scores, sentiment):
223
  if not matched_scores:
224
  return 0
 
218
  base += f"\nDetected Pattern: **{pattern_label} ({pattern_score})**\n"
219
  base += "🧠 You can review the pattern in context. This tool highlights possible dynamics—not judgments."
220
 
 
221
  def compute_abuse_score(matched_scores, sentiment):
222
  if not matched_scores:
223
  return 0