Spaces:
Sleeping
Sleeping
Alex Amari Claude Opus 4.6 commited on
Commit ·
ee8c8fc
1
Parent(s): fb7f4b1
Add About This Tool link, friendly form hints, SNAP/WIC info links
Browse files- Add fourth quick-link button for About This Tool
- Add helper text to income ("An estimate is fine"), household size,
insurance, and SNAP/WIC fields
- SNAP/WIC info text includes links to CT.gov program pages
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
app.py
CHANGED
|
@@ -1109,6 +1109,7 @@ def create_interface():
|
|
| 1109 |
'<a href="https://portal.ct.gov/oha/Financial-Assistance" target="_blank" rel="noopener">What is Financial Assistance?</a>'
|
| 1110 |
'<a href="https://portal.ct.gov/oha" target="_blank" rel="noopener">FAQ</a>'
|
| 1111 |
'<a href="https://www.accesshealthct.com" target="_blank" rel="noopener">I Need Help Enrolling in Health Insurance</a>'
|
|
|
|
| 1112 |
'</div>'
|
| 1113 |
)
|
| 1114 |
|
|
@@ -1171,10 +1172,15 @@ def create_interface():
|
|
| 1171 |
with step3:
|
| 1172 |
selected_hospital_display = gr.Markdown()
|
| 1173 |
|
| 1174 |
-
income_input = gr.Number(label="Annual Household Income ($)", minimum=1, value=35000)
|
| 1175 |
-
household_input = gr.Number(label="Household Size", minimum=1, value=3, precision=0)
|
| 1176 |
-
snap_radio = gr.Radio(
|
| 1177 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1178 |
|
| 1179 |
check_btn = gr.Button("Check Eligibility", variant="primary", size="lg")
|
| 1180 |
back_btn_c = gr.Button("Back", size="sm")
|
|
|
|
| 1109 |
'<a href="https://portal.ct.gov/oha/Financial-Assistance" target="_blank" rel="noopener">What is Financial Assistance?</a>'
|
| 1110 |
'<a href="https://portal.ct.gov/oha" target="_blank" rel="noopener">FAQ</a>'
|
| 1111 |
'<a href="https://www.accesshealthct.com" target="_blank" rel="noopener">I Need Help Enrolling in Health Insurance</a>'
|
| 1112 |
+
'<a href="https://portal.ct.gov/oha" target="_blank" rel="noopener">About This Tool</a>'
|
| 1113 |
'</div>'
|
| 1114 |
)
|
| 1115 |
|
|
|
|
| 1172 |
with step3:
|
| 1173 |
selected_hospital_display = gr.Markdown()
|
| 1174 |
|
| 1175 |
+
income_input = gr.Number(label="Annual Household Income ($)", info="An estimate is fine for now.", minimum=1, value=35000)
|
| 1176 |
+
household_input = gr.Number(label="Household Size", info="Include yourself and all dependents.", minimum=1, value=3, precision=0)
|
| 1177 |
+
snap_radio = gr.Radio(
|
| 1178 |
+
choices=["Yes", "No"],
|
| 1179 |
+
label="Enrolled in SNAP or WIC?",
|
| 1180 |
+
info='<a href="https://portal.ct.gov/dss/SNAP" target="_blank">SNAP</a> is food assistance (food stamps). <a href="https://portal.ct.gov/dph/WIC" target="_blank">WIC</a> is nutrition support for women, infants, and children.',
|
| 1181 |
+
value="No"
|
| 1182 |
+
)
|
| 1183 |
+
insurance_radio = gr.Radio(choices=["Yes", "No"], label="Do you have health insurance?", info="If insured, financial assistance applies to remaining balances after insurance.", value="No")
|
| 1184 |
|
| 1185 |
check_btn = gr.Button("Check Eligibility", variant="primary", size="lg")
|
| 1186 |
back_btn_c = gr.Button("Back", size="sm")
|