Sa-m commited on
Commit
9e60b4c
1 Parent(s): 0a45885

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -263,8 +263,8 @@ def word_cloud_generator(parsed_text_name,text_Party):
263
 
264
 
265
  elif 'congress' in parsed:
266
- orgImg=Original_Image('congrsMain.jpg')
267
- bwImg=Image_Processed('congrsMain.jpg')
268
  plt.figure(figsize=(15,12))
269
  wordCloud(orgImg,bwImg,text_Party,maxWord=3000,colorGener=True)
270
 
@@ -275,6 +275,7 @@ def word_cloud_generator(parsed_text_name,text_Party):
275
  img2 = Image.open(buf)
276
  plt.clf()
277
  return img2
 
278
 
279
 
280
  elif 'aap' in parsed:
 
263
 
264
 
265
  elif 'congress' in parsed:
266
+ orgImg=Original_Image('congress3.jpeg')
267
+ bwImg=Image_Processed('congress3.jpeg')
268
  plt.figure(figsize=(15,12))
269
  wordCloud(orgImg,bwImg,text_Party,maxWord=3000,colorGener=True)
270
 
 
275
  img2 = Image.open(buf)
276
  plt.clf()
277
  return img2
278
+ #congrsMain.jpg
279
 
280
 
281
  elif 'aap' in parsed: