SamanthaStorm commited on
Commit
b11fbe8
·
verified ·
1 Parent(s): 4292d1b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -22,21 +22,21 @@ LABELS = [
22
  THRESHOLDS = {
23
  "gaslighting": 0.15,
24
  "mockery": 0.15,
25
- "dismissiveness": 0.15,
26
- "control": 0.10,
27
  "guilt_tripping": 0.15,
28
  "apology_baiting": 0.15,
29
  "blame_shifting": 0.15,
30
- "projection": 0.15,
31
  "contradictory_statements": 0.15,
32
  "manipulation": 0.15,
33
  "deflection": 0.15,
34
- "insults": 0.15,
35
- "obscure_formal": 0.15,
36
  "recovery_phase": 0.15,
37
- "suicidal_threat": 0.20,
38
- "physical_threat": 0.20,
39
- "extreme_control": 0.20,
40
  }
41
 
42
  # Label categories
 
22
  THRESHOLDS = {
23
  "gaslighting": 0.15,
24
  "mockery": 0.15,
25
+ "dismissiveness": 0.25,
26
+ "control": 0.03,
27
  "guilt_tripping": 0.15,
28
  "apology_baiting": 0.15,
29
  "blame_shifting": 0.15,
30
+ "projection": 0.20,
31
  "contradictory_statements": 0.15,
32
  "manipulation": 0.15,
33
  "deflection": 0.15,
34
+ "insults": 0.25,
35
+ "obscure_formal": 0.20,
36
  "recovery_phase": 0.15,
37
+ "suicidal_threat": 0.08,
38
+ "physical_threat": 0.045,
39
+ "extreme_control": 0.30,
40
  }
41
 
42
  # Label categories