diff --git a/spacy/pipeline/pipes.pyx b/spacy/pipeline/pipes.pyx index 63efc3f49..609c4e852 100644 --- a/spacy/pipeline/pipes.pyx +++ b/spacy/pipeline/pipes.pyx @@ -1237,7 +1237,7 @@ class EntityLinker(Pipe): final_tensors = [] if not docs: - return final_kb_ids + return final_kb_ids, final_tensors if isinstance(docs, Doc): docs = [docs]