All-Luck-No-Skill commited on
Commit
c68504b
·
1 Parent(s): 7a54c75

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -5,5 +5,7 @@ import pandas as pd
5
  dataset = load_dataset("merve/poetry", streaming=True)
6
  df = pd.DataFrame.from_dict(dataset["train"])
7
 
8
- st.write("Most appearing words including stopwords")
9
- st.bar_chart(words[0:50])
 
 
 
5
  dataset = load_dataset("merve/poetry", streaming=True)
6
  df = pd.DataFrame.from_dict(dataset["train"])
7
 
8
+ st.write("Number of poems for each author")
9
+ sns.catplot(x="author", data=df, kind="count", aspect = 4)
10
+ plt.xticks(rotation=90)
11
+ st.pyplot()