Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -115,7 +115,7 @@ def speech_emotion_analyzer(text: str, context: str = "therapy") -> str:
|
|
| 115 |
if crisis_risk:
|
| 116 |
report += "🚨 CRITICAL: Suicide risk indicators detected!\n"
|
| 117 |
report += "📞 Immediate consultation and safety assessment recommended.\n"
|
| 118 |
-
report += "Emergency services:
|
| 119 |
|
| 120 |
# Treatment recommendations
|
| 121 |
report += "### 🎯 Treatment Recommendations:\n"
|
|
@@ -307,7 +307,7 @@ def create_therapy_worksheet(therapy_type: str, client_age: int, issue: str) ->
|
|
| 307 |
|
| 308 |
worksheet += "📞 Emergency contacts:\n"
|
| 309 |
worksheet += "- Crisis hotline: 988\n"
|
| 310 |
-
worksheet += "- Emergency:
|
| 311 |
worksheet += "- Your therapist: ________________\n\n"
|
| 312 |
|
| 313 |
return worksheet
|
|
|
|
| 115 |
if crisis_risk:
|
| 116 |
report += "🚨 CRITICAL: Suicide risk indicators detected!\n"
|
| 117 |
report += "📞 Immediate consultation and safety assessment recommended.\n"
|
| 118 |
+
report += "Emergency services: 101, Crisis hotline: \n\n"
|
| 119 |
|
| 120 |
# Treatment recommendations
|
| 121 |
report += "### 🎯 Treatment Recommendations:\n"
|
|
|
|
| 307 |
|
| 308 |
worksheet += "📞 Emergency contacts:\n"
|
| 309 |
worksheet += "- Crisis hotline: 988\n"
|
| 310 |
+
worksheet += "- Emergency: 101\n"
|
| 311 |
worksheet += "- Your therapist: ________________\n\n"
|
| 312 |
|
| 313 |
return worksheet
|