Commit Β·
24b804f
1
Parent(s): 6b02a54
updating names
Browse files
visualization/app.py
CHANGED
|
@@ -72,7 +72,7 @@ def main():
|
|
| 72 |
|
| 73 |
page = st.radio(
|
| 74 |
"Select Page",
|
| 75 |
-
["π Dashboard", "π Sentiment
|
| 76 |
index=0
|
| 77 |
)
|
| 78 |
|
|
@@ -179,10 +179,10 @@ def main():
|
|
| 179 |
filtered_df = dashboard_df
|
| 180 |
|
| 181 |
# ββ Render selected page ββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 182 |
-
if page == "π Dashboard":
|
| 183 |
render_dashboard(filtered_df)
|
| 184 |
|
| 185 |
-
elif page == "π Sentiment
|
| 186 |
# SA page fetches its own data on demand; receives only data_loader
|
| 187 |
render_sentiment_analysis(data_loader)
|
| 188 |
|
|
|
|
| 72 |
|
| 73 |
page = st.radio(
|
| 74 |
"Select Page",
|
| 75 |
+
["π Sentiment Dashboard", "π Custom Sentiment Queries", "π¬ Reply Required"],
|
| 76 |
index=0
|
| 77 |
)
|
| 78 |
|
|
|
|
| 179 |
filtered_df = dashboard_df
|
| 180 |
|
| 181 |
# ββ Render selected page ββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 182 |
+
if page == "π Sentiment Dashboard":
|
| 183 |
render_dashboard(filtered_df)
|
| 184 |
|
| 185 |
+
elif page == "π Custom Sentiment Queries":
|
| 186 |
# SA page fetches its own data on demand; receives only data_loader
|
| 187 |
render_sentiment_analysis(data_loader)
|
| 188 |
|
visualization/components/sentiment_analysis.py
CHANGED
|
@@ -26,7 +26,7 @@ def render_sentiment_analysis(data_loader):
|
|
| 26 |
Args:
|
| 27 |
data_loader: SentimentDataLoader instance
|
| 28 |
"""
|
| 29 |
-
st.title("π Sentiment
|
| 30 |
st.markdown("Analyze content performance based on sentiment patterns and user feedback")
|
| 31 |
st.markdown("---")
|
| 32 |
|
|
|
|
| 26 |
Args:
|
| 27 |
data_loader: SentimentDataLoader instance
|
| 28 |
"""
|
| 29 |
+
st.title("π Custom Sentiment Queries")
|
| 30 |
st.markdown("Analyze content performance based on sentiment patterns and user feedback")
|
| 31 |
st.markdown("---")
|
| 32 |
|