Saaquib commited on
Commit
a18aa70
·
1 Parent(s): ab8371c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -8
app.py CHANGED
@@ -112,19 +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
- col1, col2 = st.columns(2)
116
-
117
- with col1:
118
  st.markdown(f'<h1 style="color: skyblue;text-align: center; font-size: 40px;">WordCloud</h1>', unsafe_allow_html=True)
119
  df_wc = helper.create_wordcloud(selected_users, df)
120
  fig, ax = plt.subplots()
121
  ax.imshow(df_wc)
122
  st.pyplot(fig)
123
- # with col2:
124
- # st.markdown(f'<h1 style="color: skyblue; font-size: 40px;">Top 10 Used Words</h1>', unsafe_allow_html=True)
125
- # most_common_words = helper.most_common_words(selected_users, df)
126
- # st.dataframe(most_common_words)
127
-
128
 
129
  # # Emoji analysis
130
  # 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)