Download src/streamlit_app.py from rmbielski/RHTP: direct link, hf CLI and curl.
- Browser
- Download file 1.17 kB
-
https://huggingface.co/spaces/rmbielski/RHTP/resolve/main/src/streamlit_app.py
- Command line
-
hf download hf://spaces/rmbielski/RHTP/src/streamlit_app.py
-
curl -L -o streamlit_app.py https://huggingface.co/spaces/rmbielski/RHTP/resolve/main/src/streamlit_app.py
1.17 kB
| """RHTP Evaluation Dashboard — entry script. | |
| Defines the top-level navigation. Each section's content lives in its own | |
| file under /src/pages. | |
| """ | |
| from __future__ import annotations | |
| import sys | |
| from pathlib import Path | |
| import streamlit as st | |
| sys.path.insert(0, str(Path(__file__).resolve().parent)) | |
| PAGES = { | |
| "Dashboard": [ | |
| st.Page("pages/0_Overview.py", title="Overview", default=True, | |
| url_path="overview"), | |
| ], | |
| "Initiative evaluations": [ | |
| st.Page("pages/1_Workforce.py", | |
| title="01 — Workforce", url_path="workforce"), | |
| st.Page("pages/2_Facility_Sustainability.py", | |
| title="02 — Facility Sustainability", url_path="facility"), | |
| st.Page("pages/3_Innovative_Care.py", | |
| title="03 — Innovative Care & Payment", url_path="innovative-care"), | |
| st.Page("pages/4_Community_Prevention.py", | |
| title="04 — Community Prevention", url_path="prevention"), | |
| st.Page("pages/5_Technology.py", | |
| title="05 — Technology & Data", url_path="technology"), | |
| ], | |
| } | |
| nav = st.navigation(PAGES) | |
| nav.run() | |