Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -22,21 +22,21 @@ LABELS = [
|
|
22 |
THRESHOLDS = {
|
23 |
"gaslighting": 0.15,
|
24 |
"mockery": 0.15,
|
25 |
-
"dismissiveness": 0.
|
26 |
-
"control": 0.
|
27 |
"guilt_tripping": 0.15,
|
28 |
"apology_baiting": 0.15,
|
29 |
"blame_shifting": 0.15,
|
30 |
-
"projection": 0.
|
31 |
"contradictory_statements": 0.15,
|
32 |
"manipulation": 0.15,
|
33 |
"deflection": 0.15,
|
34 |
-
"insults": 0.
|
35 |
-
"obscure_formal": 0.
|
36 |
"recovery_phase": 0.15,
|
37 |
-
"suicidal_threat": 0.
|
38 |
-
"physical_threat": 0.
|
39 |
-
"extreme_control": 0.
|
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
|