Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,23 +3,32 @@ import streamlit as st
|
|
| 3 |
def main():
|
| 4 |
st.title("Data Upload for Analysis")
|
| 5 |
|
| 6 |
-
# Create three columns for the
|
| 7 |
col1, col2, col3 = st.columns(3)
|
| 8 |
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
|
|
|
|
|
|
|
|
|
| 13 |
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
|
|
|
|
|
|
|
|
|
| 23 |
|
| 24 |
if __name__ == "__main__":
|
| 25 |
main()
|
|
|
|
| 3 |
def main():
|
| 4 |
st.title("Data Upload for Analysis")
|
| 5 |
|
| 6 |
+
# Create a single row with three columns for the file uploaders and buttons
|
| 7 |
col1, col2, col3 = st.columns(3)
|
| 8 |
|
| 9 |
+
with col1:
|
| 10 |
+
st.header("Premium")
|
| 11 |
+
premium_file = st.file_uploader("Drop your Premium CSV here", type=['csv'], key="premium")
|
| 12 |
+
if premium_file is not None:
|
| 13 |
+
st.markdown(" ")
|
| 14 |
+
st.markdown(" ")
|
| 15 |
+
st.button("Proceed with Premium Analysis", key="premium_proceed")
|
| 16 |
|
| 17 |
+
with col2:
|
| 18 |
+
st.header("Incurred Claims & Recoveries Data")
|
| 19 |
+
claims_data_file = st.file_uploader("Drop your Claims & Recoveries CSV here", type=['csv'], key="claims_data")
|
| 20 |
+
if claims_data_file is not None:
|
| 21 |
+
st.markdown(" ")
|
| 22 |
+
st.markdown(" ")
|
| 23 |
+
st.button("Proceed with Claims Data Analysis", key="claims_data_proceed")
|
| 24 |
|
| 25 |
+
with col3:
|
| 26 |
+
st.header("Claims Count")
|
| 27 |
+
claims_count_file = st.file_uploader("Drop your Claims Count CSV here", type=['csv'], key="claims_count")
|
| 28 |
+
if claims_count_file is not None:
|
| 29 |
+
st.markdown(" ")
|
| 30 |
+
st.markdown(" ")
|
| 31 |
+
st.button("Proceed with Claims Count Analysis", key="claims_count_proceed")
|
| 32 |
|
| 33 |
if __name__ == "__main__":
|
| 34 |
main()
|