Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -278,7 +278,7 @@ def word_cloud_generator(parsed_text_name,text_Party):
|
|
278 |
if 'bjp' in parsed:
|
279 |
orgImg=Original_Image('bjpImg2.jpeg')
|
280 |
bwImg=Image_Processed('bjpImg2.jpeg')
|
281 |
-
plt.figure(figsize=(5
|
282 |
word_cloud(orgImg,bwImg,text_Party,maxWord=3000,colorGener=True,
|
283 |
contCol='white', bckColor='black')
|
284 |
plt.tight_layout()
|
|
|
278 |
if 'bjp' in parsed:
|
279 |
orgImg=Original_Image('bjpImg2.jpeg')
|
280 |
bwImg=Image_Processed('bjpImg2.jpeg')
|
281 |
+
plt.figure(figsize=(6,5))
|
282 |
word_cloud(orgImg,bwImg,text_Party,maxWord=3000,colorGener=True,
|
283 |
contCol='white', bckColor='black')
|
284 |
plt.tight_layout()
|