SamanthaStorm commited on
Commit
7dec571
·
verified ·
1 Parent(s): a5e2293

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -11
app.py CHANGED
@@ -28,20 +28,20 @@ THRESHOLDS = {
28
  "gaslighting": 0.18,
29
  "mockery": 0.20,
30
  "dismissiveness": 0.20,
31
- "control": 0.04,
32
- "guilt_tripping": 0.15,
33
- "apology_baiting": 0.15,
34
- "blame_shifting": 0.15,
35
- "projection": 0.15,
36
- "contradictory_statements": 0.15,
37
- "manipulation": 0.15,
38
  "deflection": 0.20,
39
- "insults": 0.15,
40
  "obscure_formal": 0.15,
41
  "recovery_phase": 0.15,
42
- "suicidal_threat": 0.01,
43
- "physical_threat": 0.02,
44
- "extreme_control": 0.02
45
  }
46
  def analyze_messages(input_text):
47
  input_text = input_text.strip()
 
28
  "gaslighting": 0.18,
29
  "mockery": 0.20,
30
  "dismissiveness": 0.20,
31
+ "control": 0.20,
32
+ "guilt_tripping": 0.20,
33
+ "apology_baiting": 0.20,
34
+ "blame_shifting": 0.20,
35
+ "projection": 0.20,
36
+ "contradictory_statements": 0.20,
37
+ "manipulation": 0.20,
38
  "deflection": 0.20,
39
+ "insults": 0.20,
40
  "obscure_formal": 0.15,
41
  "recovery_phase": 0.15,
42
+ "suicidal_threat": 0.10,
43
+ "physical_threat": 0.10,
44
+ "extreme_control": 0.10
45
  }
46
  def analyze_messages(input_text):
47
  input_text = input_text.strip()