Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -28,20 +28,20 @@ THRESHOLDS = {
|
|
28 |
"gaslighting": 0.18,
|
29 |
"mockery": 0.20,
|
30 |
"dismissiveness": 0.20,
|
31 |
-
"control": 0.
|
32 |
-
"guilt_tripping": 0.
|
33 |
-
"apology_baiting": 0.
|
34 |
-
"blame_shifting": 0.
|
35 |
-
"projection": 0.
|
36 |
-
"contradictory_statements": 0.
|
37 |
-
"manipulation": 0.
|
38 |
"deflection": 0.20,
|
39 |
-
"insults": 0.
|
40 |
"obscure_formal": 0.15,
|
41 |
"recovery_phase": 0.15,
|
42 |
-
"suicidal_threat": 0.
|
43 |
-
"physical_threat": 0.
|
44 |
-
"extreme_control": 0.
|
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()
|