SamanthaStorm commited on
Commit
fe120a1
·
verified ·
1 Parent(s): 5dda0ff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -79,10 +79,10 @@ THRESHOLDS = {
79
  "dismissiveness": 0.25,
80
  "blame shifting": 0.25,
81
  "projection": 0.25,
82
- "insults": 0.20,
83
  "contradictory statements": 0.25,
84
  "obscure language": 0.25,
85
- "nonabusive": 1.5
86
  }
87
 
88
  PATTERN_WEIGHTS = {
@@ -96,7 +96,7 @@ PATTERN_WEIGHTS = {
96
  "insults": 1.4,
97
  "contradictory statements": 1.0,
98
  "obscure language": 0.9,
99
- "nonabusive": 0.01
100
  }
101
 
102
  ESCALATION_RISKS = {
 
79
  "dismissiveness": 0.25,
80
  "blame shifting": 0.25,
81
  "projection": 0.25,
82
+ "insults": 0.05,
83
  "contradictory statements": 0.25,
84
  "obscure language": 0.25,
85
+ "nonabusive": 1.0
86
  }
87
 
88
  PATTERN_WEIGHTS = {
 
96
  "insults": 1.4,
97
  "contradictory statements": 1.0,
98
  "obscure language": 0.9,
99
+ "nonabusive": 0.0
100
  }
101
 
102
  ESCALATION_RISKS = {