Skip to content

Commit

Permalink
docs(linker): correct docs for how to tar model folder
Browse files Browse the repository at this point in the history
  • Loading branch information
nsantacruz committed Oct 28, 2024
1 parent 64f4443 commit 591ac56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sefaria/helper/linker.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 591ac56

Please sign in to comment.