Spaces:
Sleeping
Sleeping
Upload 5 files
#4
by
KrispyKarim
- opened
- Pages/1_Sentiment_Analysis.py +3 -0
- Pages/2_Topic_Modeling.py +45 -0
- Pages/3_Research_&_Insights.py +0 -0
- Pages/4_Team.py +3 -0
- Pages/5_Contact.py +9 -0
Pages/1_Sentiment_Analysis.py
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import streamlit as st
|
| 2 |
+
|
| 3 |
+
st.title("Sentiment Analysis")
|
Pages/2_Topic_Modeling.py
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import streamlit as st
|
| 2 |
+
|
| 3 |
+
st.title("Topic Modeling")
|
| 4 |
+
|
| 5 |
+
if "page" not in st.session_state:
|
| 6 |
+
st.session_state.page = "Home"
|
| 7 |
+
|
| 8 |
+
def navigate_to(page):
|
| 9 |
+
st.session_state.page = page
|
| 10 |
+
|
| 11 |
+
col1, col2, col3 = st.columns(3)
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
with col1:
|
| 15 |
+
if st.button("Home"):
|
| 16 |
+
navigate_to("Home")
|
| 17 |
+
|
| 18 |
+
with col2:
|
| 19 |
+
if st.button("LDA Baseline"):
|
| 20 |
+
navigate_to("LDA Baseline")
|
| 21 |
+
|
| 22 |
+
with col3:
|
| 23 |
+
if st.button("BERTopic"):
|
| 24 |
+
navigate_to("BERTopic")
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
if st.session_state.page == "Home":
|
| 28 |
+
st.title("Research & Methodology")
|
| 29 |
+
st.markdown("Topic Modeling Techniques:")
|
| 30 |
+
st.markdown("BERT (BERTopic): Explanation of the advanced NLP technique used for analyzing the data, and its application in this project.")
|
| 31 |
+
st.markdown("LDA as Baseline: Describe the use of Latent Dirichlet Allocation as a baseline for comparison and understanding.")
|
| 32 |
+
st.markdown("Data Sources: How the data is being collected")
|
| 33 |
+
st.markdown("Process Flow: Step-by-step breakdown of the analysis process, from data gathering to insights extraction.")
|
| 34 |
+
|
| 35 |
+
if st.session_state.page == "LDA Baseline":
|
| 36 |
+
st.title("Insights & Findings of Latent Dirichlet Allocation (LDA) Model")
|
| 37 |
+
st.markdown("Priliminary Results: If available, share initial findings, such as common themes, concerns, or emotions expressed by youth regarding climate anxiety.")
|
| 38 |
+
st.markdown("Visualizations: ")
|
| 39 |
+
st.markdown("Key Trends: ")
|
| 40 |
+
|
| 41 |
+
elif st.session_state.page == "BERTopic":
|
| 42 |
+
st.title("Insights & Findings of BERTopic Model")
|
| 43 |
+
st.markdown("Priliminary Results: If available, share initial findings, such as common themes, concerns, or emotions expressed by youth regarding climate anxiety.")
|
| 44 |
+
st.markdown("Visualizations: ")
|
| 45 |
+
st.markdown("Key Trends: ")
|
Pages/3_Research_&_Insights.py
ADDED
|
File without changes
|
Pages/4_Team.py
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import streamlit as st
|
| 2 |
+
|
| 3 |
+
st.title('Team')
|
Pages/5_Contact.py
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import streamlit as st
|
| 2 |
+
|
| 3 |
+
st.title('Contact')
|
| 4 |
+
|
| 5 |
+
st.markdown("Project Team: Introduction to the project team, including brief bios or links to their profiles.")
|
| 6 |
+
st.markdown("Contact Info: social media, contact form, emails")
|
| 7 |
+
|
| 8 |
+
st.header("FAQ")
|
| 9 |
+
st.markdown("")
|