Tantan18 commited on
Commit
9c98934
Β·
verified Β·
1 Parent(s): 3df16ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
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"