|
|
import streamlit as st
|
|
|
|
|
|
def run():
|
|
|
|
|
|
from eda import run as eda_run
|
|
|
from prediction_compile import run as prediction_run
|
|
|
|
|
|
|
|
|
page = st.sidebar.selectbox(
|
|
|
'Select Page:',
|
|
|
('Exploratory Data Analysis (EDA)', 'Prediction')
|
|
|
)
|
|
|
|
|
|
|
|
|
if page == 'Exploratory Data Analysis (EDA)':
|
|
|
eda_run()
|
|
|
else:
|
|
|
prediction_run()
|
|
|
|
|
|
|
|
|
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()
|
|
|
|