|
import streamlit as st |
|
import eda |
|
import prediction |
|
|
|
|
|
st.set_page_config( |
|
page_title='Churn Prediction', |
|
layout='wide', |
|
) |
|
|
|
|
|
hide_streamlit_style = """ |
|
<style> |
|
#MainMenu {visibility: hidden;} |
|
footer {visibility: hidden;} |
|
</style> |
|
""" |
|
st.markdown(hide_streamlit_style, unsafe_allow_html=True) |
|
|
|
|
|
st.sidebar.markdown("# Evan Derin Ihsanudin - RMT-FTDS-17") |
|
navigation = st.sidebar.selectbox('Pilih Halaman (Churn Prediction/EDA): ', ('Churn Prediction','Exploratory Data Analysis')) |
|
st.sidebar.image("https://imgur.com/t4aS0jH.png", use_column_width=True) |
|
|
|
|
|
if navigation == 'Churn Prediction' : |
|
prediction.run() |
|
else : |
|
eda.run() |