|
|
|
import streamlit as st |
|
|
|
|
|
|
|
import prediction |
|
|
|
|
|
navigasi = st.sidebar.selectbox(label='Select Page:', options=['Home Page', 'Prediction']) |
|
|
|
|
|
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!') |
|
|
|
|
|
|
|
|
|
|
|
|
|
elif navigasi == 'Prediction': |
|
prediction.run() |