#!/usr/bin/env bash # Publish the full merged NLA models to the HuggingFace Hub. # huggingface-cli login # once, with a write token # ./upload_to_hf.sh set -euo pipefail REPO="${1:-SL-AI/GRaPE-2.1-Flash-NLA}" HERE="$(cd "$(dirname "$0")" && pwd)" echo "Uploading $HERE -> https://huggingface.co/$REPO" huggingface-cli upload "$REPO" "$HERE" . --repo-type=model \ --commit-message="Publish GRaPE-2.1-Flash NLA: full merged AV+AR models (English-only reader)" echo "Done -> https://huggingface.co/$REPO"