diff --git a/bash_guofang b/bash_guofang index 1017aeb..9b6c958 100644 --- a/bash_guofang +++ b/bash_guofang @@ -1,4 +1,5 @@ alias claude='env -u TERM_PROGRAM https_proxy=http://localhost:3128 claude' alias codex="all_proxy=http://localhost:3128 codex --dangerously-bypass-approvals-and-sandbox" -alias hf="all_proxy=http://localhost:3128 hf" +alias hf="env -u HF_HUB_OFFLINE all_proxy=http://localhost:3128 hf" export HF_HUB_CACHE=/data/guofang/.cache/huggingface/hub +export HF_HUB_OFFLINE=1