quangtn266 commited on
Commit
4c6be59
·
1 Parent(s): eecbbf8

update Makefile

Browse files
Files changed (1) hide show
  1. Makefile +15 -0
Makefile CHANGED
@@ -23,3 +23,18 @@ update-branch:
23
  git config user.email "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com"
24
  git commit -am "Update with new results"
25
  git push --force origin HEAD:update
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
  git config user.email "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com"
24
  git commit -am "Update with new results"
25
  git push --force origin HEAD:update
26
+
27
+ hf-login:
28
+ pip install -U "huggingface_hub[cli]"
29
+ git pull origin update
30
+ git switch update
31
+ huggingface-cli login --token $(HF) --add-to-git-credential
32
+
33
+ push-hub:
34
+ huggingface-cli upload quangtn266/Drug-Classification ./app.py --repo-type=space --commit-message="Sync App files"
35
+ huggingface-cli updload quangtn266/Drug-Classification ./model /model --repo-type=space --commit-message="Sync model"
36
+ huggingface-cli upload quangtn266/Drug-Classification ./results /metrics --repo-type=space --commit-message="Sync model"
37
+
38
+ deploy: hf-login push-hub
39
+
40
+ #all: install format train eval update-branch deploy