Spaces:
Running
Running
Update app.py
Browse files
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="
|
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 |
|