Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -79,10 +79,10 @@ THRESHOLDS = {
|
|
79 |
"dismissiveness": 0.25,
|
80 |
"blame shifting": 0.25,
|
81 |
"projection": 0.25,
|
82 |
-
"insults": 0.
|
83 |
"contradictory statements": 0.25,
|
84 |
"obscure language": 0.25,
|
85 |
-
"nonabusive": 1.
|
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.
|
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 = {
|