mattb512 commited on
Commit
7578fa4
1 Parent(s): c332a79

add file size check

Browse files
Files changed (1) hide show
  1. .github/workflows/hf-sync.yml +6 -1
.github/workflows/hf-sync.yml CHANGED
@@ -22,4 +22,9 @@ jobs:
22
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
23
  HF_USER: ${{ vars.HF_USER }}
24
 
25
- run: git push https://$HF_USER:$HF_TOKEN@huggingface.co/spaces/TRI-ML/vlm-demo main
 
 
 
 
 
 
22
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
23
  HF_USER: ${{ vars.HF_USER }}
24
 
25
+ run: git push https://$HF_USER:$HF_TOKEN@huggingface.co/spaces/TRI-ML/vlm-demo main
26
+
27
+ - name: Check large files
28
+ uses: ActionsDesk/lfs-warning@v2.0
29
+ with:
30
+ filesizelimit: 10485760 # this is 10MB so we can sync to HF Spaces