# import streamlit as st # import eda # import prediction_src # =============================== # SQ_streamlit_app.py # =============================== import streamlit as st # =============================== # Streamlit Config # =============================== st.set_page_config( page_title='ACRE - Automated Customer Review Analysis', layout='wide', initial_sidebar_state='expanded' ) # st.markdown( # """ # **ACRE** (Automated Customer Reviews Analysis) is a system designed to classify customer sentiment towards # their flight experience with Singapore Airlines (SQ). It transforms raw customer feedback into structured insights, # empowering management to make data-driven decisions and continuously enhance SQ’s reputation for service excellence. # """ # ) # Import custom pages (pastikan tidak ada st.* di global scope modul ini) import eda import prediction_compile # =============================== # Sidebar Navigation # =============================== page = st.sidebar.selectbox( 'Select Page:', ('Exploratory Data Analysis (EDA)', 'Prediction') ) # =============================== # Page Content # =============================== # st.title("ACRE - Automated Customer Review Analysis") if page == 'Exploratory Data Analysis (EDA)': eda.run() else: prediction_compile.run() # =============================== # Footer # =============================== st.markdown( """
© 2025 Hana Antonio, Muhammad Revi Gilang Pradana, Zhaky B. Triaji. All rights reserved.
References: Dataset from Kaggle
""", unsafe_allow_html=True )