Seetha commited on
Commit
6e3a8b1
1 Parent(s): 1821fee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -181,7 +181,7 @@ def main():
181
  pred_val[ind] = 'Investors'
182
  elif 'employee' in sent or 'worker' in sent or 'staff' in sent:
183
  pred_val[ind] = 'Employees'
184
- elif 'society' in sent or 'societal' in sent or 'social responsib' in sent or 'social performance' in sent or 'communit' in sent:
185
  pred_val[ind] = 'Society'
186
 
187
  sent_id, unique = pd.factorize(sentence_pred)
 
181
  pred_val[ind] = 'Investors'
182
  elif 'employee' in sent or 'worker' in sent or 'staff' in sent:
183
  pred_val[ind] = 'Employees'
184
+ elif 'society' in sent or 'societal' in sent or 'social responsib*' in sent or 'social performance' in sent or 'community' in sent:
185
  pred_val[ind] = 'Society'
186
 
187
  sent_id, unique = pd.factorize(sentence_pred)