Spaces:
Sleeping
Sleeping
dani-ange
commited on
Update train-deploy.yaml
Browse files
.github/workflows/train-deploy.yaml
CHANGED
@@ -21,10 +21,14 @@ jobs:
|
|
21 |
|
22 |
- name: Install dependencies
|
23 |
run: pip install -r requirements.txt
|
|
|
|
|
24 |
|
25 |
- name: Authenticate with Hugging Face
|
26 |
run: |
|
27 |
huggingface-cli login --token "${{ secrets.HUGGINGFACE_API_TOKEN }}" --add-to-git-credential
|
|
|
|
|
28 |
|
29 |
- name: Deploy to Hugging Face
|
30 |
env:
|
|
|
21 |
|
22 |
- name: Install dependencies
|
23 |
run: pip install -r requirements.txt
|
24 |
+
- name: Upgrade Hugging Face Hub
|
25 |
+
run: pip install --upgrade huggingface_hub
|
26 |
|
27 |
- name: Authenticate with Hugging Face
|
28 |
run: |
|
29 |
huggingface-cli login --token "${{ secrets.HUGGINGFACE_API_TOKEN }}" --add-to-git-credential
|
30 |
+
- name: Download Model Repository
|
31 |
+
run: huggingface-cli download danielle2003/diabeties-ml --repo-type space --local-dir diabetes-ml
|
32 |
|
33 |
- name: Deploy to Hugging Face
|
34 |
env:
|