XPMaster commited on
Commit
d264bde
·
1 Parent(s): 0b30a02

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -1,19 +1,19 @@
1
  import streamlit as st
2
 
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;'>{text}</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
- h2("Incurred Claims & Recoveries Data")
15
  with col3:
16
- h2("Claims Count")
17
 
18
  # Second row with three file upload buttons
19
  upload_col1, upload_col2, upload_col3 = st.columns(3)
 
1
  import streamlit as st
2
 
3
  st.set_page_config(layout="wide")
4
+ st.markdown("<h1 style='text-align: center;'>حسن xxx دحوم</h1>", unsafe_allow_html=True)
5
 
6
+ def header(text,h='h2'):
7
+ return st.markdown(f"<{h} style='text-align: center;'>{text}</{h}>", unsafe_allow_html=True)
8
 
9
  # First row with three text components
10
  col1, col2, col3 = st.columns(3)
11
  with col1:
12
+ header('Premiums','h3')
13
  with col2:
14
+ header("Incurred Claims & Recoveries Data",'h3')
15
  with col3:
16
+ header("Claims Count",'h3')
17
 
18
  # Second row with three file upload buttons
19
  upload_col1, upload_col2, upload_col3 = st.columns(3)