# Do not put real tokens in files that get committed. # For local dev: copy to .env and load, or `export HF_TOKEN=hf_...` # For Hugging Face Spaces: Settings → Repository secrets → Name: HF_TOKEN, Value: (your token with write) # # huggingface_hub also accepts: HUGGINGFACE_HUB_TOKEN HF_TOKEN=