DeepSoft-Tech commited on
Commit
68770b5
·
verified ·
1 Parent(s): fda6167

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +1 -2
src/streamlit_app.py CHANGED
@@ -17,9 +17,8 @@ menu = st.sidebar.radio("Navigation", ["Train Model", "Predict Churn"])
17
  if menu == "Train Model":
18
  st.header("Upload Dataset and Train Model")
19
  uploaded_file = st.file_uploader("Upload Insurance Churn Dataset (CSV)", type=["csv"])
20
-
21
  if uploaded_file is not None:
22
- data = pd.read_csv(uploaded_file)
23
  st.subheader("Dataset Preview")
24
  st.dataframe(data.head())
25
 
 
17
  if menu == "Train Model":
18
  st.header("Upload Dataset and Train Model")
19
  uploaded_file = st.file_uploader("Upload Insurance Churn Dataset (CSV)", type=["csv"])
 
20
  if uploaded_file is not None:
21
+ data = pd.read_csv("insurance_data.csv")
22
  st.subheader("Dataset Preview")
23
  st.dataframe(data.head())
24