MCPcopy Create free account
hub / github.com/Hrishikesh332/HCDS-EPD / main

Function main

app.py:75–87  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

73""", unsafe_allow_html=True)
74
75def main():
76 if 'current_page' not in st.session_state:
77 st.session_state.current_page = 'dashboard'
78 df, data_type = load_and_cache_data()
79
80 if data_type == "real":
81 st.success("Successfully loaded NHS prescription data")
82 else:
83 st.warning("csv not found. Using sample data for demonstration.")
84
85 create_nav()
86 create_sidebar()
87 route_to_page(df)
88
89def create_nav():
90 pages = {

Callers 1

app.pyFile · 0.85

Calls 4

load_and_cache_dataFunction · 0.85
create_navFunction · 0.85
create_sidebarFunction · 0.85
route_to_pageFunction · 0.85

Tested by

no test coverage detected