alvaroalon2 commited on
Commit
66ba84c
·
1 Parent(s): 23acbef
.github/workflows/sync_hf_space.yml CHANGED
@@ -40,16 +40,13 @@ jobs:
40
  uses: snok/install-poetry@v1
41
 
42
  - name: Generate requirements.txt from poetry
43
- run: poetry export --without-hashes -f requirements.txt --output requeriments.txt
44
-
45
- - name: Generate pre-requirements.txt
46
- run: echo "pip>=24.0" > pre-requirements.txt
47
 
48
  - name: Add HF model card
49
  run: cat model_card.md | cat - README.md > temp && mv temp README.md
50
 
51
  - name: Update HF README
52
  run: |
53
- git add README.md requeriments.txt pre-requirements.txt
54
- git commit -m "Update HF README adding model card, added requirements.txt and pre-requirements.txt"
55
  git push https://$HF_USERNAME:[email protected]/spaces/$HF_USERNAME/$SPACE_NAME
 
40
  uses: snok/install-poetry@v1
41
 
42
  - name: Generate requirements.txt from poetry
43
+ run: poetry export --without-hashes -f requirements.txt --output requirements.txt
 
 
 
44
 
45
  - name: Add HF model card
46
  run: cat model_card.md | cat - README.md > temp && mv temp README.md
47
 
48
  - name: Update HF README
49
  run: |
50
+ git add README.md requirements.txt
51
+ git commit -m "Update HF README adding model card, added requirements.txt"
52
  git push https://$HF_USERNAME:[email protected]/spaces/$HF_USERNAME/$SPACE_NAME