aasiavakil commited on
Commit
d7eb366
·
verified ·
1 Parent(s): 7a4481a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -49,6 +49,7 @@ def chatbot(message, history):
49
  "medicare": "Medicare is a federal health insurance program mainly for people age 65 or older and certain younger people with disabilities.",
50
  "aca": "ACA subsidies are financial help from the Affordable Care Act that reduce your monthly insurance premium based on your income.",
51
  }
 
52
  # EXPLANATION TRIGGER FIX
53
  if any(phrase in message for phrase in ["what does that mean", "what's that", "explain", "what is that"]):
54
  program = conversation_state.get("last_eligible_program")
 
49
  "medicare": "Medicare is a federal health insurance program mainly for people age 65 or older and certain younger people with disabilities.",
50
  "aca": "ACA subsidies are financial help from the Affordable Care Act that reduce your monthly insurance premium based on your income.",
51
  }
52
+
53
  # EXPLANATION TRIGGER FIX
54
  if any(phrase in message for phrase in ["what does that mean", "what's that", "explain", "what is that"]):
55
  program = conversation_state.get("last_eligible_program")