From 9353a82076f4babd60b4d150b5ff9b0632eae5f8 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Tue, 29 Sep 2020 18:07:48 +0200 Subject: [PATCH] Auto-format --- spacy/util.py | 1 + 1 file changed, 1 insertion(+) diff --git a/spacy/util.py b/spacy/util.py index 948c4ab11..1e0a8e7d4 100644 --- a/spacy/util.py +++ b/spacy/util.py @@ -97,6 +97,7 @@ class registry(thinc.registry): models = catalogue.create("spacy", "models", entry_points=True) cli = catalogue.create("spacy", "cli", entry_points=True) + # We want json loading in the registry, so manually register srsly.read_json. registry.readers("srsly.read_json.v0", srsly.read_json)