Spaces:
Sleeping
Sleeping
Vipul-Chauhan
commited on
Commit
•
2eb3f52
1
Parent(s):
b1979b2
Update app.py
Browse files
app.py
CHANGED
@@ -78,7 +78,7 @@ for i in range(0,20):
|
|
78 |
text_list= temp_df["tfidf_cleaned"].values
|
79 |
text_list = [element for element in text_list if str(element) != "nan"]
|
80 |
single_text = " ".join(text_list)
|
81 |
-
wordcloud = WordCloud(width = 1000, height = 500,
|
82 |
dictt_cluster_words[i] = wordcloud.words_
|
83 |
|
84 |
|
|
|
78 |
text_list= temp_df["tfidf_cleaned"].values
|
79 |
text_list = [element for element in text_list if str(element) != "nan"]
|
80 |
single_text = " ".join(text_list)
|
81 |
+
wordcloud = WordCloud(width = 1000, height = 500, max_words=1000).generate(single_text)
|
82 |
dictt_cluster_words[i] = wordcloud.words_
|
83 |
|
84 |
|