Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -65,8 +65,8 @@ def index():
|
|
65 |
comments_df, embeddings_col="embeddings"
|
66 |
)
|
67 |
|
68 |
-
image_path = os.path.join("
|
69 |
-
clustering.plot_wordcloud(
|
70 |
|
71 |
total = comments_df.shape[0]
|
72 |
|
|
|
65 |
comments_df, embeddings_col="embeddings"
|
66 |
)
|
67 |
|
68 |
+
image_path = os.path.join("static", "wordcloud.png")
|
69 |
+
clustering.plot_wordcloud(comments_df, text_column="comment", output_filename=image_path)
|
70 |
|
71 |
total = comments_df.shape[0]
|
72 |
|