Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -281,7 +281,7 @@ def word_cloud_generator(parsed_text_name,text_Party):
|
|
| 281 |
buf = BytesIO()
|
| 282 |
plt.savefig(buf)
|
| 283 |
buf.seek(0)
|
| 284 |
-
|
| 285 |
plt.clf()
|
| 286 |
return img3
|
| 287 |
|
|
|
|
| 281 |
buf = BytesIO()
|
| 282 |
plt.savefig(buf)
|
| 283 |
buf.seek(0)
|
| 284 |
+
img3 = Image.open(buf)
|
| 285 |
plt.clf()
|
| 286 |
return img3
|
| 287 |
|