mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46:28 +03:00
Auto-format code with black (#11749)
Co-authored-by: explosion-bot <explosion-bot@users.noreply.github.com>
This commit is contained in:
parent
40e1000db0
commit
bbf64cfc43
|
@ -155,7 +155,11 @@ class TextCategorizer(TrainablePipe):
|
||||||
self.model = model
|
self.model = model
|
||||||
self.name = name
|
self.name = name
|
||||||
self._rehearsal_model = None
|
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.cfg = dict(cfg)
|
||||||
self.scorer = scorer
|
self.scorer = scorer
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user