$ErrorActionPreference = "Stop" $Space = "raymuz/NLLUniversalProfessionalEditor" if (-not $env:HF_TOKEN) { throw "Set HF_TOKEN to a Hugging Face write token." } $Temp = Join-Path $env:TEMP ("nll-space-" + [guid]::NewGuid()) git clone "https://oauth2:$($env:HF_TOKEN)@huggingface.co/spaces/$Space" $Temp Get-ChildItem -Force | Where-Object { $_.Name -notin @('.git') } | Copy-Item -Destination $Temp -Recurse -Force Push-Location $Temp git add . git commit -m "Deploy NLL Universal Professional Editor" git push origin main Pop-Location