SamanthaStorm commited on
Commit
4f80598
Β·
verified Β·
1 Parent(s): 17471e5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -81,7 +81,8 @@ THRESHOLDS = {
81
  "projection": 0.35,
82
  "insults": 0.23,
83
  "contradictory statements": 0.23,
84
- "obscure language": 0.15
 
85
  }
86
 
87
  PATTERN_WEIGHTS = {
@@ -94,7 +95,8 @@ PATTERN_WEIGHTS = {
94
  "projection": 0.8,
95
  "insults": 1.4,
96
  "contradictory statements": 1.0,
97
- "obscure language": 0.9
 
98
  }
99
  RISK_STAGE_LABELS = {
100
  1: "πŸŒ€ Risk Stage: Tension-Building\nThis message reflects rising emotional pressure or subtle control attempts.",
 
81
  "projection": 0.35,
82
  "insults": 0.23,
83
  "contradictory statements": 0.23,
84
+ "obscure language": 0.15,
85
+ "nonabusive": 1.5
86
  }
87
 
88
  PATTERN_WEIGHTS = {
 
95
  "projection": 0.8,
96
  "insults": 1.4,
97
  "contradictory statements": 1.0,
98
+ "obscure language": 0.9,
99
+ "nonabusive": 0.01
100
  }
101
  RISK_STAGE_LABELS = {
102
  1: "πŸŒ€ Risk Stage: Tension-Building\nThis message reflects rising emotional pressure or subtle control attempts.",