From 591ac56245f0a3047abdc8b0d562cfda23b1ee42 Mon Sep 17 00:00:00 2001 From: nsantacruz Date: Mon, 28 Oct 2024 18:33:59 +0200 Subject: [PATCH] docs(linker): correct docs for how to tar model folder --- sefaria/helper/linker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sefaria/helper/linker.py b/sefaria/helper/linker.py index 878c1d2c0b..60ea490fd8 100644 --- a/sefaria/helper/linker.py +++ b/sefaria/helper/linker.py @@ -23,7 +23,7 @@ def load_spacy_model(path: str) -> spacy.Language: if path.startswith("gs://"): # file is located in Google Cloud - # file is expected to be a tar.gz of the model folder + # file is expected to be a tar.gz of the contents of the model folder (not the folder itself) match = re.match(r"gs://([^/]+)/(.+)$", path) bucket_name = match.group(1) blob_name = match.group(2)