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

Update app.py

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