HMM / push_to_space.bat
Speedofmastery's picture
Auto-commit: push_to_space.bat updated
c85b71d
raw
history blame contribute delete
680 Bytes
@echo off
echo ========================================
echo PUSH TO HUGGING FACE SPACE
echo ========================================
echo.
echo Enter your NEW token from: https://huggingface.co/settings/tokens
echo.
set /p TOKEN="Paste token here: "
echo.
echo Pushing to Space...
echo.
cd /d D:\sand\docker-sandbox-space
git push https://Speedofmastery:%TOKEN%@huggingface.co/spaces/Speedofmastery/HMM main
echo.
if %ERRORLEVEL% == 0 (
echo βœ… SUCCESS! Files pushed to Space
echo Wait 2-5 minutes for Docker build
echo Then test: curl https://speedofmastery-hmm.hf.space/health
) else (
echo ❌ FAILED! Check token is valid with Write permission
)
echo.
pause