awacke1 commited on
Commit
56e7933
·
1 Parent(s): 6e29f2d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -36,9 +36,9 @@ def render_heatmap(words, sentences):
36
  df = pd.DataFrame(words, columns=['word', 'frequency'])
37
  fig = px.treemap(df, path=['word'], values='frequency', color='frequency', hover_data=['frequency'], color_continuous_scale='reds')
38
  st.plotly_chart(fig, use_container_width=True)
39
- st.write('Sentences containing the most common words:')
40
- for sentence in sentences:
41
- st.write('- ' + sentence)
42
 
43
  def main():
44
  st.title('Markdown Analyzer')
 
36
  df = pd.DataFrame(words, columns=['word', 'frequency'])
37
  fig = px.treemap(df, path=['word'], values='frequency', color='frequency', hover_data=['frequency'], color_continuous_scale='reds')
38
  st.plotly_chart(fig, use_container_width=True)
39
+ #st.write('Sentences containing the most common words:')
40
+ #for sentence in sentences:
41
+ # st.write('- ' + sentence)
42
 
43
  def main():
44
  st.title('Markdown Analyzer')