Skip to content

Commit 7eec58f

Browse files
authored
Fix typo
1 parent 46656d5 commit 7eec58f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dlclibrary/dlcmodelzoo/modelzoo_download.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def _loadmodelnames():
3838
return YAML().load(file)
3939

4040

41-
def download_hugginface_model(modelname, target_dir=".", removeHFfolder=True):
41+
def download_huggingface_model(modelname, target_dir=".", removeHFfolder=True):
4242
"""
4343
Downloads a DeepLabCut Model Zoo Project from Hugging Face
4444

tests/test_modeldownload.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def test_catdownload(tmp_path_factory):
1616
import dlclibrary, os
1717

1818
folder = tmp_path_factory.mktemp("cat")
19-
dlclibrary.download_hugginface_model("full_cat", str(folder))
19+
dlclibrary.download_huggingface_model("full_cat", str(folder))
2020

2121
assert os.path.exists(folder / "pose_cfg.yaml")
2222
assert os.path.exists(folder / "snapshot-75000.meta")

0 commit comments

Comments
 (0)