hanantonio's picture
Upload 21 files
57b215d verified
raw
history blame
1.86 kB
# 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(
"""
<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
)