Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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('
|
280 |
-
bwImg=Image_Processed('
|
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')
|