Spaces:
Runtime error
Runtime error
| $ErrorActionPreference = 'SilentlyContinue' | |
| Remove-Item create_space.js | |
| Remove-Item deploy.ps1 | |
| Remove-Item lfs_deploy.ps1 | |
| $ErrorActionPreference = 'Stop' | |
| git branch -D hf-deploy | |
| git checkout --orphan hf-deploy | |
| git lfs install | |
| git lfs track "*.png" "*.gif" "*.jpg" "*.jpeg" | |
| git add .gitattributes | |
| git add . | |
| git commit -m "Deploy to HF Spaces with LFS" | |
| git push hf hf-deploy:main --force | |
| git checkout main | |