Spaces:
Sleeping
Sleeping
sotirios-slv
commited on
Commit
•
2769653
1
Parent(s):
502ba81
Updating flair tagger namespace to try to resolve intermittent errors in build
Browse files
app.py
CHANGED
@@ -8,7 +8,8 @@ from flair.models import SequenceTagger
|
|
8 |
from segtok.segmenter import split_single
|
9 |
import pandas as pd
|
10 |
|
11 |
-
tagger = SequenceTagger.load("ner-ontonotes")
|
|
|
12 |
|
13 |
langs = []
|
14 |
|
|
|
8 |
from segtok.segmenter import split_single
|
9 |
import pandas as pd
|
10 |
|
11 |
+
# tagger = SequenceTagger.load("ner-ontonotes")
|
12 |
+
tagger = SequenceTagger.load("flair/ner-english-ontonotes")
|
13 |
|
14 |
langs = []
|
15 |
|