summaryrefslogtreecommitdiff
path: root/makima/sh
diff options
context:
space:
mode:
authorsoryu <soryu@soryu.co>2025-12-21 18:12:56 +0000
committersoryu <soryu@soryu.co>2025-12-23 14:47:18 +0000
commit87e6c9c49fca144e3de3ea4a3618a84b1c418536 (patch)
tree185613ec561c0db7ab5d04d9fbe481f142d76e44 /makima/sh
parentdbec21683cad0c61736ef5d376c44a30451b46c8 (diff)
downloadsoryu-87e6c9c49fca144e3de3ea4a3618a84b1c418536.tar.gz
soryu-87e6c9c49fca144e3de3ea4a3618a84b1c418536.zip
Use hf cli to download models
Diffstat (limited to 'makima/sh')
-rw-r--r--makima/sh/download-models.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/makima/sh/download-models.sh b/makima/sh/download-models.sh
index 58ee0ac..7aecefe 100644
--- a/makima/sh/download-models.sh
+++ b/makima/sh/download-models.sh
@@ -39,9 +39,9 @@ download_from_hf() {
mkdir -p "$dest"
if [ -n "$include" ]; then
- huggingface-cli download "$repo" --include "$include" --local-dir "$dest"
+ hf download "$repo" --include "$include" --local-dir "$dest"
else
- huggingface-cli download "$repo" --local-dir "$dest"
+ hf download "$repo" --local-dir "$dest"
fi
echo "Downloaded to $dest successfully"