diff --git a/spacy/pipeline/pipe.pyx b/spacy/pipeline/pipe.pyx index 481430a2c..49d0bea35 100644 --- a/spacy/pipeline/pipe.pyx +++ b/spacy/pipeline/pipe.pyx @@ -35,10 +35,7 @@ cdef class Pipe: @property def labels(self) -> Optional[Tuple[str]]: - if "labels" in self.cfg: - return tuple(self.cfg["labels"]) - else: - return None + return [] @property def label_data(self):