Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
|
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')
|