Spaces:
Runtime error
Runtime error
QandeelFatima commited on
Update main.yml
Browse files
.github/workflows/main.yml
CHANGED
|
@@ -10,11 +10,14 @@ jobs:
|
|
| 10 |
sync-to-hub:
|
| 11 |
runs-on: ubuntu-latest
|
| 12 |
steps:
|
| 13 |
-
- uses: actions/checkout@
|
| 14 |
with:
|
| 15 |
fetch-depth: 0
|
| 16 |
-
|
|
|
|
|
|
|
|
|
|
| 17 |
- name: Push to hub
|
| 18 |
env:
|
| 19 |
-
|
| 20 |
run: git push --force https://qandeelfatima:$HF@huggingface.co/spaces/qandeelfatima/ImageToTextModel main
|
|
|
|
| 10 |
sync-to-hub:
|
| 11 |
runs-on: ubuntu-latest
|
| 12 |
steps:
|
| 13 |
+
- uses: actions/checkout@v2
|
| 14 |
with:
|
| 15 |
fetch-depth: 0
|
| 16 |
+
- name: Add remote
|
| 17 |
+
env:
|
| 18 |
+
HF: ${{ secrets.HF }}
|
| 19 |
+
run: git remote add space https://qandeelfatima:$HF@huggingface.co/spaces/qandeelfatima/ImageToTextModel
|
| 20 |
- name: Push to hub
|
| 21 |
env:
|
| 22 |
+
HF: ${{ secrets.HF }}
|
| 23 |
run: git push --force https://qandeelfatima:$HF@huggingface.co/spaces/qandeelfatima/ImageToTextModel main
|