Bitha's picture
Upload Files
54f382a verified
raw
history blame
1 kB
# 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', 'Prediction']) # 'Exploratory Data Analysis',
# Looping for navigation
if navigasi == 'Home Page':
st.markdown("<h1 style='text-align: center;'>Customer Churn Prediction</h1>", unsafe_allow_html=True)
st.image("https://miro.medium.com/v2/resize:fit:1358/0*dzmm3qresODlScte")
st.caption("<p style='text-align: center;'>Source : Medium.com</p>", 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()