waidhoferj commited on
Commit
088b4f1
1 Parent(s): c914273

added readme

Browse files
Files changed (2) hide show
  1. .github/workflows/huggingface.yml +38 -0
  2. README.md +1 -0
.github/workflows/huggingface.yml ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Sync to Hugging Face hub
2
+ on:
3
+ push:
4
+ branches: [main]
5
+
6
+ # to run this workflow manually from the Actions tab
7
+ workflow_dispatch:
8
+
9
+ jobs:
10
+ sync-to-hub:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v3
14
+ with:
15
+ fetch-depth: 0
16
+ - name: Push to hub
17
+ env:
18
+ HF_TOKEN: ${{ secrets.HF_TOKEN }}
19
+ HF_USERNAME: waidhoferj
20
+ SPACE_NAME: dance-classifier
21
+ run: git push https://HF_USERNAME:[email protected]/spaces/HF_USERNAME/SPACE_NAME main
22
+
23
+ name: Check file size
24
+ on: # or directly `on: [push]` to run the action on every push on any branch
25
+ pull_request:
26
+ branches: [main]
27
+
28
+ # to run this workflow manually from the Actions tab
29
+ workflow_dispatch:
30
+
31
+ jobs:
32
+ sync-to-hub:
33
+ runs-on: ubuntu-latest
34
+ steps:
35
+ - name: Check large files
36
+ uses: ActionsDesk/[email protected]
37
+ with:
38
+ filesizelimit: 10485760 # this is 10MB so we can sync to HF Spaces
README.md ADDED
@@ -0,0 +1 @@
 
 
1
+ # Dance Classifier