File size: 430 Bytes
c3543ba
 
 
 
 
 
 
 
 
 
b866293
 
 
 
 
c3543ba
b866293
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# import libraries
import streamlit as st
import numpy as np
import pandas as pd

# import modules
import eda
import prediction


def main():
    PAGES = {
        "EDA": eda,
        "Prediction": prediction
    }

    st.sidebar.title('Navigation')
    selection = st.sidebar.radio("Go to", list(PAGES.keys()))
    page = PAGES[selection]
    page.app()

# main idiom
if __name__ == "__main__":
    main()