Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -68,7 +68,7 @@ def filter_spans(spans, keep_longest=True):
|
|
68 |
|
69 |
|
70 |
|
71 |
-
def _inference_ner_spancat(text,
|
72 |
nlp = spacy.load("en_pipeline")
|
73 |
out = []
|
74 |
for doc in nlp.pipe(text):
|
|
|
68 |
|
69 |
|
70 |
|
71 |
+
def _inference_ner_spancat(text, limit_outputs=10):
|
72 |
nlp = spacy.load("en_pipeline")
|
73 |
out = []
|
74 |
for doc in nlp.pipe(text):
|