nateraw / modelcards

📝 Utility to create, edit, and publish model cards on the Hugging Face Hub. [**Now lives in huggingface_hub**]
MIT License
15 stars 4 forks source link

Return URL string from `push_to_hub` #49

Closed nateraw closed 2 years ago

nateraw commented 2 years ago

In push_to_hub, we use upload_file which will return a string URL of the uploaded file on the specified branch/revision/etc. We should return that.

Context: This way, it will be easier to match huggingface_hub's metadata_update when we port this over to a PR there.