Spaces:
Sleeping
Sleeping
| import streamlit as st | |
| import EDA | |
| import prediction | |
| # =============================== | |
| # Streamlit Config | |
| # =============================== | |
| st.set_page_config( | |
| page_title='ACRE - Automated Customer Review Analysis', | |
| layout='wide', | |
| initial_sidebar_state='expanded' | |
| ) | |
| # =============================== | |
| # Sidebar Navigation | |
| # =============================== | |
| page = st.sidebar.selectbox( | |
| 'Select Page: ', | |
| ('Exploratory Data Analysis (EDA)', 'Prediction') | |
| ) | |
| # =============================== | |
| # Page Content | |
| # =============================== | |
| st.title("ACRE - Automated Customer Review Analysis") | |
| # 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. | |
| # """ | |
| # ) | |
| 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 | |
| ) |