Update app.py
Browse files
app.py
CHANGED
@@ -118,12 +118,11 @@ def test_single_model(model_name):
|
|
118 |
|
119 |
# Most important: Specifically for depression/mental health detection (6 points)
|
120 |
depression_keywords = ['depression', 'mental-health', 'psychological', 'mood', 'phq']
|
|
|
|
|
121 |
if any(keyword in model_name.lower() for keyword in depression_keywords):
|
122 |
score += 6
|
123 |
result_text += " π― Specifically for depression/mental health detection (+6 points)\n"
|
124 |
-
|
125 |
-
# Secondary: For emotion recognition (3 points)
|
126 |
-
emotion_keywords = ['emotion', 'sentiment', 'affective', 'feeling']
|
127 |
elif any(keyword in model_name.lower() for keyword in emotion_keywords):
|
128 |
score += 3
|
129 |
result_text += " π For emotion recognition, potentially applicable (+3 points)\n"
|
|
|
118 |
|
119 |
# Most important: Specifically for depression/mental health detection (6 points)
|
120 |
depression_keywords = ['depression', 'mental-health', 'psychological', 'mood', 'phq']
|
121 |
+
emotion_keywords = ['emotion', 'sentiment', 'affective', 'feeling']
|
122 |
+
|
123 |
if any(keyword in model_name.lower() for keyword in depression_keywords):
|
124 |
score += 6
|
125 |
result_text += " π― Specifically for depression/mental health detection (+6 points)\n"
|
|
|
|
|
|
|
126 |
elif any(keyword in model_name.lower() for keyword in emotion_keywords):
|
127 |
score += 3
|
128 |
result_text += " π For emotion recognition, potentially applicable (+3 points)\n"
|