Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -243,7 +243,7 @@ def analyze_single_message(text, thresholds):
|
|
243 |
|
244 |
return abuse_score, threshold_labels, top_patterns, result, stage, darvo_score
|
245 |
|
246 |
-
|
247 |
none_selected_checked = answers_and_none[-1]
|
248 |
responses_checked = any(answers_and_none[:-1])
|
249 |
none_selected = not responses_checked and none_selected_checked
|
|
|
243 |
|
244 |
return abuse_score, threshold_labels, top_patterns, result, stage, darvo_score
|
245 |
|
246 |
+
def analyze_composite(msg1, msg2, msg3, *answers_and_none):
|
247 |
none_selected_checked = answers_and_none[-1]
|
248 |
responses_checked = any(answers_and_none[:-1])
|
249 |
none_selected = not responses_checked and none_selected_checked
|