dani-ange commited on
Commit
84c1d61
·
unverified ·
2 Parent(s): 4ceb54e 5e24bb7

Merge branch 'master' into main

Browse files
Files changed (2) hide show
  1. .github/workflows/train-deploy.yaml +5 -2
  2. README.md +0 -10
.github/workflows/train-deploy.yaml CHANGED
@@ -62,6 +62,9 @@ jobs:
62
  HF_TOKEN: ${{ secrets.HUGGINGFACE_API_TOKEN }}
63
  run: |
64
  huggingface-cli login --token $HF_TOKEN
65
- git pull
66
- git push https://danielle2003:$HF_TOKEN@huggingface.co/spaces/danielle2003/diabeties-ml main
 
 
 
67
 
 
62
  HF_TOKEN: ${{ secrets.HUGGINGFACE_API_TOKEN }}
63
  run: |
64
  huggingface-cli login --token $HF_TOKEN
65
+ # Set merge strategy to rebase
66
+ git config pull.rebase true
67
+
68
+ # Ensure local repository is up-to-date before pushing
69
+ git push --force https://danielle2003:[email protected]/spaces/danielle2003/diabeties main
70
 
README.md CHANGED
@@ -1,10 +0,0 @@
1
- ---
2
- title: Diabetes ML Model
3
- emoji: 🧬
4
- colorFrom: blue
5
- colorTo: purple
6
- sdk: gradio # Change to 'streamlit' if needed
7
- sdk_version: "3.50.2" # Update according to your Gradio version
8
- app_file: app.py # Ensure this file exists
9
- pinned: false
10
- ---