Skip to content

Instantly share code, notes, and snippets.

; Ctrl + FでONとOFFをトグル
^f::
Toggle := !Toggle
if (Toggle) {
SetTimer, PressKeys, 1000 ; 0.7秒ごとにPressKeysサブルーチンを呼ぶ
} else {
SetTimer, PressKeys, Off ; タイマーをオフにする
}
return
@exminase
exminase / README.txt
Last active December 17, 2024 13:26
Hugging Face上のリポジトリのスナップショットを取得するための単純なスクリプト
# download.py
認証が必要なリポジトリを取得する場合は環境変数$HUGGING_FACE_ACCESS_TOKENにAccess Tokenの値を設定してください。
# 初期セットアップ
pip install huggingface-hub
# 実行方法
python download.py ${repo_id} ${revision_id}
例.