File size: 1,552 Bytes
2579f24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c7b15fe
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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
)