Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -54,7 +54,7 @@ plt.xticks(rotation=90)
|
|
| 54 |
st.pyplot()
|
| 55 |
|
| 56 |
# distributions of poem types according to ages and authors
|
| 57 |
-
st.write("Distributions of poem types according to ages and authors,
|
| 58 |
le = LabelEncoder()
|
| 59 |
|
| 60 |
df.author = le.fit_transform(df.author)
|
|
@@ -89,4 +89,3 @@ word_cloud(renaissance, "Word Cloud Renaissance Poems")
|
|
| 89 |
# most appearing words including stopwords
|
| 90 |
st.write("Most appearing words including stopwords")
|
| 91 |
st.bar_chart(words[0:50])
|
| 92 |
-
st.set_option('deprecation.showPyplotGlobalUse', False)
|
|
|
|
| 54 |
st.pyplot()
|
| 55 |
|
| 56 |
# distributions of poem types according to ages and authors
|
| 57 |
+
st.write("Distributions of poem types according to ages and authors, seems that folks in renaissance loved the love themed poems and nature themed poems became popular later")
|
| 58 |
le = LabelEncoder()
|
| 59 |
|
| 60 |
df.author = le.fit_transform(df.author)
|
|
|
|
| 89 |
# most appearing words including stopwords
|
| 90 |
st.write("Most appearing words including stopwords")
|
| 91 |
st.bar_chart(words[0:50])
|
|
|