SamanthaStorm commited on
Commit
687104b
·
verified ·
1 Parent(s): ae4cced

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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()]