Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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")
|