Spaces:
Runtime error
Runtime error
import streamlit as st | |
import eda | |
import prediction | |
from PIL import Image | |
# Set Config dan icon | |
st.set_page_config( | |
page_title='Churn Prediction', | |
layout='wide', | |
) | |
#klik eda, bawa ke page eda | |
navigation = st.sidebar.selectbox('Select Page (EDA/Churn Prediction):', ('EDA', 'Churn Prediction')) | |
#Run modul dengan if else | |
if navigation == 'EDA': | |
eda.run() | |
else : | |
prediction.run() |