Auto-format code with black

This commit is contained in:
explosion-bot 2022-11-04 08:04:10 +00:00 committed by GitHub
parent 40e1000db0
commit c9954d6dd5

View File

@ -155,7 +155,11 @@ class TextCategorizer(TrainablePipe):
self.model = model
self.name = name
self._rehearsal_model = None
cfg: Dict[str, Any] = {"labels": [], "threshold": threshold, "positive_label": None}
cfg: Dict[str, Any] = {
"labels": [],
"threshold": threshold,
"positive_label": None,
}
self.cfg = dict(cfg)
self.scorer = scorer