SamanthaStorm commited on
Commit
8edffe2
·
verified ·
1 Parent(s): ba18699

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -78,15 +78,19 @@ LABELS = [
78
  "projection",
79
  "recovery phase",
80
  "threat"
 
 
 
81
 
82
  ]
83
 
84
  THRESHOLDS = {
85
- "recovery": 0.622,
86
  "control": 0.100,
87
  "gaslighting": 0.410,
88
  "dismissiveness": 0.867,
89
  "blame shifting": 0.116,
 
90
  "coercion": 0.100,
91
  "aggression": 0.100,
92
  "nonabusive": 0.100,
@@ -94,7 +98,6 @@ THRESHOLDS = {
94
  "projection": 0.100,
95
  "insults": 0.100
96
  }
97
-
98
  PATTERN_WEIGHTS = {
99
  "gaslighting": 1.4, # Slightly reduced: threshold tuned to 0.41 (high precision)
100
  "control": 1.3, # Increased: very low threshold, deserves slightly higher weight
 
78
  "projection",
79
  "recovery phase",
80
  "threat"
81
+ "deflection"
82
+ "aggression"
83
+ "coercion"
84
 
85
  ]
86
 
87
  THRESHOLDS = {
88
+ "recovery phase": 0.622,
89
  "control": 0.100,
90
  "gaslighting": 0.410,
91
  "dismissiveness": 0.867,
92
  "blame shifting": 0.116,
93
+ "contradictory statements": 0.100,
94
  "coercion": 0.100,
95
  "aggression": 0.100,
96
  "nonabusive": 0.100,
 
98
  "projection": 0.100,
99
  "insults": 0.100
100
  }
 
101
  PATTERN_WEIGHTS = {
102
  "gaslighting": 1.4, # Slightly reduced: threshold tuned to 0.41 (high precision)
103
  "control": 1.3, # Increased: very low threshold, deserves slightly higher weight