Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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 |
-
|
|
|
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 |
)
|