#!/usr/bin/env bash set -euo pipefail if [[ -z "${HF_TOKEN:-}" ]]; then echo "HF_TOKEN is not set" >&2 exit 1 fi echo "1. Login to Hugging Face" hf auth login --token "$HF_TOKEN" echo "2. Create or link your Docker Space manually, then push this repo" echo " hf repo create --type space --space_sdk docker" echo " git remote add origin https://huggingface.co/spaces//" echo " git push origin HEAD" echo "3. After the Space is live, validate endpoints:" echo " curl https:///health" echo " curl -X POST https:///reset -H "content-type: application/json" -d '{"task":"easy_brief"}'"