SamanthaStorm commited on
Commit
c3a3860
·
verified ·
1 Parent(s): b79ebea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -12
app.py CHANGED
@@ -85,7 +85,7 @@ darvo_model.eval()
85
 
86
  # Constants and Labels
87
  LABELS = [
88
- "recovery", "control", "gaslighting", "guilt tripping", "dismissiveness",
89
  "blame shifting", "nonabusive", "projection", "insults",
90
  "contradictory statements", "obscure language"
91
  ]
@@ -93,17 +93,17 @@ LABELS = [
93
  SENTIMENT_LABELS = ["undermining", "supportive"]
94
 
95
  THRESHOLDS = {
96
- "recovery": 0.4,
97
- "control": 0.27,
98
- "gaslighting": 0.48,
99
- "guilt tripping": 0.56,
100
- "dismissiveness": 0.6,
101
- "blame shifting": 0.55,
102
- "projection": 0.59,
103
- "insults": 0.33,
104
- "contradictory statements": 0.27,
105
- "obscure language": 0.65,
106
- "nonabusive": 1.0
107
  }
108
 
109
 
 
85
 
86
  # Constants and Labels
87
  LABELS = [
88
+ "recovery phase", "control", "gaslighting", "guilt tripping", "dismissiveness",
89
  "blame shifting", "nonabusive", "projection", "insults",
90
  "contradictory statements", "obscure language"
91
  ]
 
93
  SENTIMENT_LABELS = ["undermining", "supportive"]
94
 
95
  THRESHOLDS = {
96
+ "recovery phase": 0.3,
97
+ "control": 0.15,
98
+ "gaslighting": 0.30,
99
+ "guilt tripping": 0.40,
100
+ "dismissiveness": 0.25,
101
+ "blame shifting": 0.25,
102
+ "projection": 0.50,
103
+ "insults": 0.30,
104
+ "contradictory statements": 0.35,
105
+ "obscure language": 0.30,
106
+ "nonabusive": 0.45
107
  }
108
 
109