File size: 923 Bytes
abeb5b7
 
0822fa4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
30
31
32
33
34
35
36
import streamlit as st

st.set_page_config(page_title = 'Customer Prediction', page_icon = 'πŸ“ˆ', layout = 'wide')

# --- PAGE SETUP -----
info_page = st.Page(
    page = 'pages/about.py',
    title = 'Profile Developer',
    icon = ':material/person:',
    default= True
)
#---- PAGE PROJECT ------
dashboard = st.Page(
    page = 'pages/dashboard.py',
    title = 'Dashboard Customer Retail',
    icon = ':material/bar_chart:',
)
#---- PAGE PREDICTION ------
prediction = st.Page(
    page = 'pages/predict.py',
    title = 'Customer Category Prediction',
    icon = ':material/thumb_up:'
)

page = st.navigation(
    {
        "Info": [info_page],
        "Projects": [dashboard, prediction],
    }
)

st.sidebar.info("Source code, find in My Github:")
st.sidebar.link_button("Github Source", "https://github.com/fendy07/customer-prediction")
st.sidebar.text(f'Created by Fendy Hendriyanto πŸ‘¨πŸΌβ€πŸ’»')

page.run()