Spaces:
Runtime error
Runtime error
jmansfield89
commited on
Commit
•
f4d31b4
1
Parent(s):
5b0d194
Update app.py
Browse filesUpdate objective statement
app.py
CHANGED
@@ -44,6 +44,7 @@ def display_header(sentiment):
|
|
44 |
'announcing their rebranding to Meta.')
|
45 |
st.header('RESULT: {}'.format(sentiment))
|
46 |
|
|
|
47 |
def display_chart(sentiment_counts):
|
48 |
"""
|
49 |
Displays the chosen chart for the data.
|
@@ -61,7 +62,7 @@ def display_footer(tweet_url, sentiment):
|
|
61 |
"""
|
62 |
Displays the footer section of the app.
|
63 |
"""
|
64 |
-
st.markdown('**Objective:** Understand public
|
65 |
st.markdown('**Analysis:** This app runs sentiment analysis on 10,948 replies to a Facebook Tweet announcing '
|
66 |
'their rebranding to Meta on 10/28/2021. Link to Tweet: {}'.format(tweet_url))
|
67 |
st.markdown('**Results:** Most frequent sentiment category for the replies to this Tweet: **{}**'.format(sentiment))
|
|
|
44 |
'announcing their rebranding to Meta.')
|
45 |
st.header('RESULT: {}'.format(sentiment))
|
46 |
|
47 |
+
|
48 |
def display_chart(sentiment_counts):
|
49 |
"""
|
50 |
Displays the chosen chart for the data.
|
|
|
62 |
"""
|
63 |
Displays the footer section of the app.
|
64 |
"""
|
65 |
+
st.markdown('**Objective:** Understand public reaction of a Tweet by analyzing the sentiment of each reply.')
|
66 |
st.markdown('**Analysis:** This app runs sentiment analysis on 10,948 replies to a Facebook Tweet announcing '
|
67 |
'their rebranding to Meta on 10/28/2021. Link to Tweet: {}'.format(tweet_url))
|
68 |
st.markdown('**Results:** Most frequent sentiment category for the replies to this Tweet: **{}**'.format(sentiment))
|