Spaces:
Runtime error
Runtime error
Update appStore/sdg_analysis.py
Browse files- appStore/sdg_analysis.py +1 -1
appStore/sdg_analysis.py
CHANGED
|
@@ -94,7 +94,7 @@ def app():
|
|
| 94 |
# Create and generate a word cloud image:
|
| 95 |
text = ' '.join([str(word) for word in df["Keyword/Keyphrase"]])
|
| 96 |
|
| 97 |
-
wordcloud = WordCloud(background_color="white", colormap="hot",
|
| 98 |
|
| 99 |
|
| 100 |
# Display the generated image:
|
|
|
|
| 94 |
# Create and generate a word cloud image:
|
| 95 |
text = ' '.join([str(word) for word in df["Keyword/Keyphrase"]])
|
| 96 |
|
| 97 |
+
wordcloud = WordCloud(background_color="white", colormap="hot", random_state=42).generate(text)
|
| 98 |
|
| 99 |
|
| 100 |
# Display the generated image:
|