Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import string
|
|
5 |
|
6 |
model = NERModel(
|
7 |
"albert", #roberta
|
8 |
-
"bgk/lodosalberttr",
|
9 |
use_cuda=False
|
10 |
)
|
11 |
def ner(text, model):
|
|
|
5 |
|
6 |
model = NERModel(
|
7 |
"albert", #roberta
|
8 |
+
"bgk/lodosalberttr", ignore_mismatched_sizes=True,
|
9 |
use_cuda=False
|
10 |
)
|
11 |
def ner(text, model):
|