SamanthaStorm commited on
Commit
6319fa9
Β·
verified Β·
1 Parent(s): eab911b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -284,10 +284,10 @@ def analyze_composite(msg1, msg2, msg3, *answers_and_none):
284
  out += "Escalation Potential: Unknown (Checklist not completed)\n"
285
  out += "πŸ” *This section was not completed. Escalation potential is unknown.*\n\n"
286
  else:
287
- risk_level = (
288
- "High" if escalation_score >= 16 else
289
- "Moderate" if escalation_score >= 8 else
290
- "Low"
291
  )
292
  out += f"Escalation Potential: {risk_level} ({escalation_score}/{sum(w for _, w in ESCALATION_QUESTIONS)})\n"
293
  out += "🚨 This indicates how many serious risk factors are present based on your answers to the safety checklist.\n\n"
 
284
  out += "Escalation Potential: Unknown (Checklist not completed)\n"
285
  out += "πŸ” *This section was not completed. Escalation potential is unknown.*\n\n"
286
  else:
287
+ risk_level = (
288
+ "High" if escalation_score >= 16 else
289
+ "Moderate" if escalation_score >= 8 else
290
+ "Low"
291
  )
292
  out += f"Escalation Potential: {risk_level} ({escalation_score}/{sum(w for _, w in ESCALATION_QUESTIONS)})\n"
293
  out += "🚨 This indicates how many serious risk factors are present based on your answers to the safety checklist.\n\n"