SamanthaStorm commited on
Commit
f88c084
Β·
verified Β·
1 Parent(s): bb07289

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -196,9 +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 += "πŸ“Š 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)})\n"
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
 
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).\n\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)})\n"
201
+ out += "🚨 This indicates how many serious risk factors are present based on your answers to the safety checklist.\n\n"
202
  out += generate_risk_snippet(composite_abuse, top_label, escalation_score)
203
  out += f"\n\n{stage_text}"
204
  return out