Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,8 @@ class ExampleDocument(TextDocument):
|
|
20 |
|
21 |
|
22 |
ner_model_name_or_path = "pie/example-ner-spanclf-conll03"
|
23 |
-
re_model_name_or_path = "
|
|
|
24 |
#"DFKI-SLT/relation_classification_tacred_revisited"
|
25 |
|
26 |
ner_pipeline = AutoPipeline.from_pretrained(ner_model_name_or_path, device=-1, num_workers=0)
|
|
|
20 |
|
21 |
|
22 |
ner_model_name_or_path = "pie/example-ner-spanclf-conll03"
|
23 |
+
re_model_name_or_path = "DFKI-SLT/relation_classification_tacred_revisited"
|
24 |
+
#"pie/example-re-textclf-tacred"
|
25 |
#"DFKI-SLT/relation_classification_tacred_revisited"
|
26 |
|
27 |
ner_pipeline = AutoPipeline.from_pretrained(ner_model_name_or_path, device=-1, num_workers=0)
|