Sa-m commited on
Commit
9d29f03
1 Parent(s): 7cca274

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -276,8 +276,8 @@ def word_cloud_generator(parsed_text_name,text_Party):
276
  parsed=parsed_text_name.lower()
277
 
278
  if 'bjp' in parsed:
279
- orgImg=Original_Image('bjp.jpeg')
280
- bwImg=Image_Processed('bjp.jpeg')
281
  plt.figure(figsize=(5,4))
282
  word_cloud(orgImg,bwImg,text_Party,maxWord=3000,colorGener=True,
283
  contCol='white', bckColor='black')
 
276
  parsed=parsed_text_name.lower()
277
 
278
  if 'bjp' in parsed:
279
+ orgImg=Original_Image('bjpImg2.jpeg')
280
+ bwImg=Image_Processed('bjpImg2.jpeg')
281
  plt.figure(figsize=(5,4))
282
  word_cloud(orgImg,bwImg,text_Party,maxWord=3000,colorGener=True,
283
  contCol='white', bckColor='black')