File size: 348 Bytes
af44b2b
 
 
 
 
 
b44a008
1
2
3
4
5
6
7
#/bin/bash
# PUSH model to HuggingFace using CLI
# HUGGINGFACE_TOKEN should be set on your environment variables
# commit message is not customizable
# https://huggingface.co/docs/huggingface_hub/guides/upload

huggingface-cli upload manufy/mnist_model_keras saved_model . --commit-description "Uploaded model using CLI" --token $HUGGINGFACE_TOKEN