nlpblogs commited on
Commit
55212b6
·
verified ·
1 Parent(s): 9b5dbe0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -95,7 +95,7 @@ if text is not None and len(tokens) > number:
95
 
96
 
97
  if text is not None:
98
- token_classifier = pipeline(model="Davlan/bert-base-multilingual-cased-ner-hrl", aggregation_strategy="simple")
99
 
100
  tokens = token_classifier(text)
101
 
 
95
 
96
 
97
  if text is not None:
98
+ token_classifier = pipeline(model="dslim/bert-base-NER", aggregation_strategy="simple")
99
 
100
  tokens = token_classifier(text)
101