Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -280,7 +280,7 @@ def word_cloud_generator(parsed_text_name,text_Party):
|
|
280 |
orgImg=Original_Image('BJPMain.jpg')
|
281 |
bwImg=Image_Processed('BJPMain.jpg')
|
282 |
plt.figure(figsize=(5,4))
|
283 |
-
wordCloud(orgImg,bwImg,
|
284 |
plt.tight_layout()
|
285 |
buf = BytesIO()
|
286 |
plt.savefig(buf)
|
|
|
280 |
orgImg=Original_Image('BJPMain.jpg')
|
281 |
bwImg=Image_Processed('BJPMain.jpg')
|
282 |
plt.figure(figsize=(5,4))
|
283 |
+
wordCloud(orgImg,bwImg,text_Party,maxWord=3000,colorGen=True,contCol='white',bckColor='black')
|
284 |
plt.tight_layout()
|
285 |
buf = BytesIO()
|
286 |
plt.savefig(buf)
|