Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 '
|
| 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)
|