Update app.py
Browse files
app.py
CHANGED
|
@@ -112,11 +112,11 @@ if uploaded_file is not None:
|
|
| 112 |
# WordCloud
|
| 113 |
st.markdown(f'<h1 style="color: red; text-align: center; font-size: 50px;text-decoration: underline;">WORD WISE ANALYSIS</h1>', unsafe_allow_html=True)
|
| 114 |
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
|
| 120 |
|
| 121 |
# # Emoji analysis
|
| 122 |
# st.markdown(f'<h1 style="color: red; text-align: center; font-size: 50px;text-decoration: underline;">EMOJI ANALYSIS</h1>', unsafe_allow_html=True)
|
|
|
|
| 112 |
# WordCloud
|
| 113 |
st.markdown(f'<h1 style="color: red; text-align: center; font-size: 50px;text-decoration: underline;">WORD WISE ANALYSIS</h1>', unsafe_allow_html=True)
|
| 114 |
|
| 115 |
+
st.markdown(f'<h1 style="color: skyblue;text-align: center; font-size: 40px;">WordCloud</h1>', unsafe_allow_html=True)
|
| 116 |
+
df_wc = helper.create_wordcloud(selected_users, df)
|
| 117 |
+
fig, ax = plt.subplots()
|
| 118 |
+
ax.imshow(df_wc)
|
| 119 |
+
st.pyplot(fig)
|
| 120 |
|
| 121 |
# # Emoji analysis
|
| 122 |
# st.markdown(f'<h1 style="color: red; text-align: center; font-size: 50px;text-decoration: underline;">EMOJI ANALYSIS</h1>', unsafe_allow_html=True)
|