ArneBinder
commited on
Commit
•
29fb097
1
Parent(s):
a9b68bd
dummy commit
Browse files
app.py
CHANGED
@@ -19,6 +19,7 @@ model_name_or_path = "pie/example-ner-spanclf-conll03"
|
|
19 |
ner_pipeline = AutoPipeline.from_pretrained(model_name_or_path, device=-1, num_workers=0)
|
20 |
|
21 |
|
|
|
22 |
def predict(text):
|
23 |
document = ExampleDocument(text)
|
24 |
|
|
|
19 |
ner_pipeline = AutoPipeline.from_pretrained(model_name_or_path, device=-1, num_workers=0)
|
20 |
|
21 |
|
22 |
+
|
23 |
def predict(text):
|
24 |
document = ExampleDocument(text)
|
25 |
|