Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,12 +3,15 @@ import streamlit as st
|
|
| 3 |
st.set_page_config(layout="wide")
|
| 4 |
st.markdown("<h1 style='text-align: center;'>Dashboard</h1>", unsafe_allow_html=True)
|
| 5 |
|
|
|
|
|
|
|
|
|
|
| 6 |
# First row with three text components
|
| 7 |
col1, col2, col3 = st.columns(3)
|
| 8 |
with col1:
|
| 9 |
-
|
| 10 |
with col2:
|
| 11 |
-
st.text("Incurred Claims Recoveries Data")
|
| 12 |
with col3:
|
| 13 |
st.text("Claims Count")
|
| 14 |
|
|
|
|
| 3 |
st.set_page_config(layout="wide")
|
| 4 |
st.markdown("<h1 style='text-align: center;'>Dashboard</h1>", unsafe_allow_html=True)
|
| 5 |
|
| 6 |
+
def h2(text):
|
| 7 |
+
return st.markdown(f"<h2 style='text-align: center;'>{}</h2>", unsafe_allow_html=True)
|
| 8 |
+
|
| 9 |
# First row with three text components
|
| 10 |
col1, col2, col3 = st.columns(3)
|
| 11 |
with col1:
|
| 12 |
+
h2('Premiums')
|
| 13 |
with col2:
|
| 14 |
+
st.text("Incurred Claims & Recoveries Data")
|
| 15 |
with col3:
|
| 16 |
st.text("Claims Count")
|
| 17 |
|