Manu commited on
Commit
b44a008
·
1 Parent(s): 00c322b

update gitignore and cli push

Browse files
.gitignore CHANGED
@@ -1 +1,2 @@
1
  /saved_model
 
 
1
  /saved_model
2
+ .env
load-model-from-huggingface.py CHANGED
@@ -1,3 +1,3 @@
1
  from huggingface_hub import from_pretrained_keras
2
 
3
- model = from_pretrained_keras("manufy/mnist_model_keras")
 
1
  from huggingface_hub import from_pretrained_keras
2
 
3
+ model = from_pretrained_keras("manufy/mnist_model_keras")
push-model-to-huggingface-with-cli.sh CHANGED
@@ -4,4 +4,4 @@
4
  # commit message is not customizable
5
  # https://huggingface.co/docs/huggingface_hub/guides/upload
6
 
7
- huggingface-cli upload manufy/mnist_model_keras saved_model . --token $HUGGINGFACE_TOKEN
 
4
  # commit message is not customizable
5
  # https://huggingface.co/docs/huggingface_hub/guides/upload
6
 
7
+ huggingface-cli upload manufy/mnist_model_keras saved_model . --commit-description "Uploaded model using CLI" --token $HUGGINGFACE_TOKEN