File size: 803 Bytes
400dd5b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import streamlit as st
import eda
import prediction

# Set Config dan icon
st.set_page_config(
        page_title='Churn Prediction',
        layout='wide',
        )

# Hide Streamlit Style
hide_streamlit_style = """
            <style>
            #MainMenu {visibility: hidden;}
            footer {visibility: hidden;}
            </style>
            """
st.markdown(hide_streamlit_style, unsafe_allow_html=True) 

#Membuat navigasi
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)

#Run modul dengan if else
if navigation == 'Churn Prediction' :
    prediction.run()
else :
    eda.run()