BesottenJenny commited on
Commit
2579f24
·
verified ·
1 Parent(s): f313894

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +50 -50
src/streamlit_app.py CHANGED
@@ -1,51 +1,51 @@
1
- import streamlit as st
2
- import EDA
3
- import prediction
4
-
5
- # ===============================
6
- # Streamlit Config
7
- # ===============================
8
- st.set_page_config(
9
- page_title='ACRE - Automated Customer Review Analysis',
10
- layout='wide',
11
- initial_sidebar_state='expanded'
12
- )
13
-
14
- # ===============================
15
- # Sidebar Navigation
16
- # ===============================
17
- page = st.sidebar.selectbox(
18
- 'Select Page: ',
19
- ('Exploratory Data Analysis (EDA)', 'Prediction')
20
- )
21
-
22
- # ===============================
23
- # Page Content
24
- # ===============================
25
- st.title("ACRE - Automated Customer Review Analysis")
26
-
27
- st.markdown(
28
- """
29
- **ACRE** (Automated Customer Reviews Analysis) is a system designed to classify customer sentiment towards
30
- their flight experience with Singapore Airlines (SQ). It transforms raw customer feedback into structured insights,
31
- empowering management to make data-driven decisions and continuously enhance SQ’s reputation for service excellence.
32
- """
33
- )
34
-
35
- if page == 'Exploratory Data Analysis (EDA)':
36
- EDA.run()
37
- else:
38
- prediction.run()
39
-
40
- # ===============================
41
- # Footer
42
- # ===============================
43
- st.markdown(
44
- """
45
- <div style="text-align: center; color: gray; font-size: 12px; margin-top: 50px;">
46
- © 2025 Hana Antonio, Muhammad Revi Gilang Pradana, Zhaky B. Triaji. All rights reserved. <br>
47
- References: Dataset from <a href="https://www.kaggle.com" target="_blank" style="color: gray;">Kaggle</a>
48
- </div>
49
- """,
50
- unsafe_allow_html=True
51
  )
 
1
+ import streamlit as st
2
+ import EDA
3
+ import prediction
4
+
5
+ # ===============================
6
+ # Streamlit Config
7
+ # ===============================
8
+ st.set_page_config(
9
+ page_title='ACRE - Automated Customer Review Analysis',
10
+ layout='wide',
11
+ initial_sidebar_state='expanded'
12
+ )
13
+
14
+ # ===============================
15
+ # Sidebar Navigation
16
+ # ===============================
17
+ page = st.sidebar.selectbox(
18
+ 'Select Page: ',
19
+ ('Exploratory Data Analysis (EDA)', 'Prediction')
20
+ )
21
+
22
+ # ===============================
23
+ # Page Content
24
+ # ===============================
25
+ st.title("ACRE - Automated Customer Review Analysis")
26
+
27
+ # st.markdown(
28
+ # """
29
+ # **ACRE** (Automated Customer Reviews Analysis) is a system designed to classify customer sentiment towards
30
+ # their flight experience with Singapore Airlines (SQ). It transforms raw customer feedback into structured insights,
31
+ # empowering management to make data-driven decisions and continuously enhance SQ’s reputation for service excellence.
32
+ # """
33
+ # )
34
+
35
+ if page == 'Exploratory Data Analysis (EDA)':
36
+ EDA.run()
37
+ else:
38
+ prediction.run()
39
+
40
+ # ===============================
41
+ # Footer
42
+ # ===============================
43
+ st.markdown(
44
+ """
45
+ <div style="text-align: center; color: gray; font-size: 12px; margin-top: 50px;">
46
+ © 2025 Hana Antonio, Muhammad Revi Gilang Pradana, Zhaky B. Triaji. All rights reserved. <br>
47
+ References: Dataset from <a href="https://www.kaggle.com" target="_blank" style="color: gray;">Kaggle</a>
48
+ </div>
49
+ """,
50
+ unsafe_allow_html=True
51
  )