leonhardhennig commited on
Commit
f4eafde
·
1 Parent(s): 86d07c4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ class ExampleDocument(TextDocument):
16
 
17
  model_name_or_path = "leonhardhennig/copious_ner"
18
 
19
- ner_pipeline = AutoPipeline.from_pretrained(model_name_or_path, device=-1, num_workers=0, taskmodule_kwargs={"include_ill_formed_predictions": False, "truncation": True})
20
 
21
 
22
  def predict(text):
 
16
 
17
  model_name_or_path = "leonhardhennig/copious_ner"
18
 
19
+ ner_pipeline = AutoPipeline.from_pretrained(model_name_or_path, device=-1, num_workers=0, taskmodule_kwargs={"include_ill_formed_predictions": False, "max_window": 512})
20
 
21
 
22
  def predict(text):