Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -132,8 +132,8 @@ def main():
|
|
132 |
# Word Cloud for Complaint Description
|
133 |
with col2:
|
134 |
text = " ".join(complaints_df['complaint_description'])
|
135 |
-
wordcloud = WordCloud(background_color='white', width=800, height=
|
136 |
-
plt.figure(figsize=(8,
|
137 |
plt.imshow(wordcloud, interpolation='bilinear')
|
138 |
plt.axis('off')
|
139 |
st.pyplot(plt)
|
|
|
132 |
# Word Cloud for Complaint Description
|
133 |
with col2:
|
134 |
text = " ".join(complaints_df['complaint_description'])
|
135 |
+
wordcloud = WordCloud(background_color='white', width=800, height=1000).generate(text)
|
136 |
+
plt.figure(figsize=(8, 10))
|
137 |
plt.imshow(wordcloud, interpolation='bilinear')
|
138 |
plt.axis('off')
|
139 |
st.pyplot(plt)
|