Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -277,8 +277,8 @@ def word_cloud_generator(parsed_text_name,text_Party):
|
|
277 |
parsed=parsed_text_name.lower()
|
278 |
|
279 |
if 'bjp' in parsed:
|
280 |
-
orgImg=Original_Image('
|
281 |
-
bwImg=Image_Processed('
|
282 |
plt.figure(figsize=(15,12))
|
283 |
wordCloud(orgImg,bwImg,text_Party,maxWord=3000,colorGener=True,contCol='white',bckColor='black')
|
284 |
|
|
|
277 |
parsed=parsed_text_name.lower()
|
278 |
|
279 |
if 'bjp' in parsed:
|
280 |
+
orgImg=Original_Image('bjpMain2.jpg')
|
281 |
+
bwImg=Image_Processed('bjpMain2.jpg')
|
282 |
plt.figure(figsize=(15,12))
|
283 |
wordCloud(orgImg,bwImg,text_Party,maxWord=3000,colorGener=True,contCol='white',bckColor='black')
|
284 |
|