-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.py
More file actions
27 lines (17 loc) · 651 Bytes
/
Copy pathapp.py
File metadata and controls
27 lines (17 loc) · 651 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
"""Streamlit entrypoint for the ClientDeliveryKitAgent consultant dashboard."""
from __future__ import annotations
from pathlib import Path
import streamlit as st
from client_delivery_kit.dashboard_data import load_dashboard_data
from client_delivery_kit.dashboard_views import render_dashboard
PROJECT_ROOT = Path(__file__).resolve().parent
def main() -> None:
st.set_page_config(
page_title="ClientDeliveryKitAgent",
layout="wide",
initial_sidebar_state="collapsed",
)
data = load_dashboard_data(root=PROJECT_ROOT)
render_dashboard(st, data, root=PROJECT_ROOT)
if __name__ == "__main__":
main()