add file size check
Browse files
.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
|