SamanthaStorm commited on
Commit
f49c6a4
·
verified ·
1 Parent(s): 78dd553

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -196,7 +196,9 @@ def analyze_composite(msg1, msg2, msg3, *answers_and_none):
196
  composite_abuse = int(round(sum(abuse_scores) / len(abuse_scores)))
197
 
198
  out = f"Abuse Intensity: {composite_abuse}%\n"
 
199
  out += f"Escalation Potential: {('High' if escalation_score >= 16 else 'Moderate' if escalation_score >= 8 else 'Low')} ({escalation_score}/{sum(w for _, w in ESCALATION_QUESTIONS)})"
 
200
  out += generate_risk_snippet(composite_abuse, top_label, escalation_score)
201
  out += f"\n\n{stage_text}"
202
  return out
 
196
  composite_abuse = int(round(sum(abuse_scores) / len(abuse_scores)))
197
 
198
  out = f"Abuse Intensity: {composite_abuse}%\n"
199
+ out += "📊 This reflects the strength and severity of detected abuse patterns in the message(s), based on their type and weight.\n"
200
  out += f"Escalation Potential: {('High' if escalation_score >= 16 else 'Moderate' if escalation_score >= 8 else 'Low')} ({escalation_score}/{sum(w for _, w in ESCALATION_QUESTIONS)})"
201
+ out += "🚨 This indicates how many serious risk factors are present based on your answers to the safety checklist.\n"
202
  out += generate_risk_snippet(composite_abuse, top_label, escalation_score)
203
  out += f"\n\n{stage_text}"
204
  return out