File size: 953 Bytes
57b215d
 
60be2ab
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
import streamlit as st

def run():
    # Import pages inside function to avoid global loading issues
    from eda import run as eda_run
    from prediction_compile import run as prediction_run

    # Sidebar navigation
    page = st.sidebar.selectbox(
        'Select Page:',
        ('Exploratory Data Analysis (EDA)', 'Prediction')
    )

    # Show page
    if page == 'Exploratory Data Analysis (EDA)':
        eda_run()
    else:
        prediction_run()

    # Footer
    st.markdown(
        """

        <div style="text-align: center; color: gray; font-size: 12px; margin-top: 50px;">

            © 2025 Hana Antonio, Muhammad Revi Gilang Pradana, Zhaky B. Triaji. All rights reserved. <br>

            References: Dataset from <a href="https://www.kaggle.com" target="_blank" style="color: gray;">Kaggle</a>

        </div>

        """,
        unsafe_allow_html=True
    )

if __name__ == "__main__":
    run()