Sa-m commited on
Commit
1caae74
1 Parent(s): f2a3512

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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('BJPMain.jpg')
281
- bwImg=Image_Processed('BJPMain.jpg')
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