Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -148,7 +148,7 @@ def analyze_messages(input_text):
|
|
148 |
"The Danger Assessment is a validated tool that helps identify serious risk in intimate partner violence. "
|
149 |
"It flags communication patterns associated with increased risk of severe harm. "
|
150 |
"For more info, consider reaching out to support groups or professionals.\n\n"
|
151 |
-
f"Resources: {resources}"
|
152 |
f"Sentiment: {sentiment_label} (Confidence: {sentiment_score*100:.2f}%)"
|
153 |
)
|
154 |
|
|
|
148 |
"The Danger Assessment is a validated tool that helps identify serious risk in intimate partner violence. "
|
149 |
"It flags communication patterns associated with increased risk of severe harm. "
|
150 |
"For more info, consider reaching out to support groups or professionals.\n\n"
|
151 |
+
f"Resources: {resources} \n\n"
|
152 |
f"Sentiment: {sentiment_label} (Confidence: {sentiment_score*100:.2f}%)"
|
153 |
)
|
154 |
|