SamanthaStorm commited on
Commit
2c8c408
·
verified ·
1 Parent(s): b0731a6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -92,8 +92,9 @@ def analyze_messages(input_text):
92
  f"Abuse Level: {abuse_level}% - {abuse_description}\n"
93
 
94
  "The Danger Assessment is a validated tool used to help identify the level of risk for serious injury or homicide in cases of intimate partner violence.. "
95
- "It looks for specific abusive patterns that increase the likelihood of severe harm. "
96
- f"The messages just analyzed contain at least {danger_flag_count} critical flags."
 
97
 
98
  f"Resources: {resources}"
99
  )
 
92
  f"Abuse Level: {abuse_level}% - {abuse_description}\n"
93
 
94
  "The Danger Assessment is a validated tool used to help identify the level of risk for serious injury or homicide in cases of intimate partner violence.. "
95
+ "It looks for specific abusive patterns that increase the likelihood of severe harm.\n"
96
+
97
+ f"The messages just analyzed contain at least {danger_flag_count} critical flags.\n"
98
 
99
  f"Resources: {resources}"
100
  )