diff --git a/app/dashboard.py b/app/dashboard.py index 0847f8d..f87d8c2 100644 --- a/app/dashboard.py +++ b/app/dashboard.py @@ -53,7 +53,8 @@ def display_kpi_metrics(kpis: List[float], kpi_names: List[str]): for i, (col, (kpi_name, kpi_value)) in enumerate( zip(st.columns(3), zip(kpi_names, kpis)) ): - col.metric(label=kpi_name, value=kpi_value, delta="+10%") + kpi_delta = "+5%" + col.metric(label=kpi_name, value=kpi_value, delta=kpi_delta) def display_sidebar(data: pd.DataFrame) -> Tuple[List[str], List[str], List[str]]: