Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -90,7 +90,7 @@ def main():
|
|
90 |
with res_col1:
|
91 |
st.subheader("Generated Text Visualisation")
|
92 |
# Create and generate a word cloud image:
|
93 |
-
|
94 |
# Display the generated image:
|
95 |
plt.imshow(wordcloud, interpolation='bilinear')
|
96 |
plt.axis("off")
|
|
|
90 |
with res_col1:
|
91 |
st.subheader("Generated Text Visualisation")
|
92 |
# Create and generate a word cloud image:
|
93 |
+
wordcloud = WordCloud().generate(summarized_text)
|
94 |
# Display the generated image:
|
95 |
plt.imshow(wordcloud, interpolation='bilinear')
|
96 |
plt.axis("off")
|