Skip to content

Commit

Permalink
Remove large files before push
Browse files Browse the repository at this point in the history
  • Loading branch information
Not-Sahil-Raja committed Nov 15, 2024
1 parent 85689eb commit c496cba
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,14 @@ jobs:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: git remote add space https://SahilRaja:$HF_TOKEN@huggingface.co/spaces/SahilRaja/Kidney_Disease_Classifier

- name: Remove large files before push
run: |
git rm --cached ScreenShots/Scores/best_model.keras
git rm --cached ScreenShots/Scores/model.h5
git rm --cached ScreenShots/Scores/my_model.keras
git rm --cached model/model.h5
git commit -m "Remove large files before push"
- name: Push to hub
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
Expand Down

0 comments on commit c496cba

Please sign in to comment.