Spaces:
Configuration error
Configuration error
Commit ·
adcd367
1
Parent(s): db408dc
deploy once again
Browse files
.github/workflows/deploy-to-huggingface.yml
CHANGED
|
@@ -45,8 +45,10 @@ jobs:
|
|
| 45 |
env:
|
| 46 |
HUGGINGFACE_TOKEN: ${{ secrets.HUGGINGFACE_TOKEN }}
|
| 47 |
|
| 48 |
-
- name:
|
| 49 |
run: |
|
| 50 |
git remote add space https://huggingface.co/spaces/${{ secrets.HUGGINGFACE_USERNAME }}/material_corrosion
|
| 51 |
-
|
| 52 |
-
|
|
|
|
|
|
|
|
|
| 45 |
env:
|
| 46 |
HUGGINGFACE_TOKEN: ${{ secrets.HUGGINGFACE_TOKEN }}
|
| 47 |
|
| 48 |
+
- name: Add Hugging Face remote
|
| 49 |
run: |
|
| 50 |
git remote add space https://huggingface.co/spaces/${{ secrets.HUGGINGFACE_USERNAME }}/material_corrosion
|
| 51 |
+
|
| 52 |
+
- name: Push to Hugging Face Space
|
| 53 |
+
run: |
|
| 54 |
+
git push --force space master:main
|
corrosion-backend/app.py
CHANGED
|
@@ -107,4 +107,5 @@ def predict():
|
|
| 107 |
if __name__ == '__main__':
|
| 108 |
app.run(debug=True)
|
| 109 |
|
| 110 |
-
#trigger
|
|
|
|
|
|
| 107 |
if __name__ == '__main__':
|
| 108 |
app.run(debug=True)
|
| 109 |
|
| 110 |
+
#trigger
|
| 111 |
+
#deployment
|