# Import Library import streamlit as st # Import the created Streamlit Page import eda import prediction # Navigation button navigasi = st.sidebar.selectbox(label='Select Page:', options=['Home Page', 'Exploratory Data Analysis', 'Prediction']) # Looping for navigation if navigasi == 'Home Page': st.markdown("

Customer Churn Prediction

", unsafe_allow_html=True) st.image("https://miro.medium.com/v2/resize:fit:1358/0*dzmm3qresODlScte") st.caption("

Source : Medium.com

", unsafe_allow_html=True) st.write('') st.write('**Author : Salsa Sabitha Hurriyah**') st.write('**Classification Model for Predicting Customer Churn**') st.caption('Please select another menu in the Select Box on the left of your screen to start!') # Displays the EDA page elif navigasi == 'Exploratory Data Analysis': eda.run() # Displays the Predict page elif navigasi == 'Prediction': prediction.run()