Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -245,7 +245,7 @@ def analyze_single_message(text, thresholds):
|
|
245 |
|
246 |
def analyze_composite(msg1, msg2, msg3, *answers_and_none):
|
247 |
responses = answers_and_none[:len(ESCALATION_QUESTIONS)]
|
248 |
-
none_selected = answers_and_none[-1]
|
249 |
|
250 |
messages = [msg1, msg2, msg3]
|
251 |
active = [m for m in messages if m.strip()]
|
|
|
245 |
|
246 |
def analyze_composite(msg1, msg2, msg3, *answers_and_none):
|
247 |
responses = answers_and_none[:len(ESCALATION_QUESTIONS)]
|
248 |
+
none_selected = bool(answers_and_none[-1])
|
249 |
|
250 |
messages = [msg1, msg2, msg3]
|
251 |
active = [m for m in messages if m.strip()]
|