| # push_to_hf.sh — push current dir to HuggingFace Hub | |
| # Usage: ./push_to_hf.sh [repo] [local_path] | |
| # Defaults: repo=nabin2004/ChessDataset, path=. | |
| REPO="${1:-nabin2004/ChessDataset}" | |
| LOCAL_PATH="${2:-.}" | |
| hf upload "$REPO" "$LOCAL_PATH" --repo-type=dataset |