File size: 405 Bytes
4782147
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$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