diff --git a/docs/dev/release.md b/docs/dev/release.md index a802952f5c..1d0bc95a5c 100644 --- a/docs/dev/release.md +++ b/docs/dev/release.md @@ -51,5 +51,4 @@ __version__ = ".dev0" # For example, after releasing v0.5.0 or v0.5. 10. Push the changes! ``` git push origin main - ``` -""" \ No newline at end of file +``` diff --git a/docs/source/quick-start.mdx b/docs/source/quick-start.mdx index 775a649c6a..0ff56a41b3 100644 --- a/docs/source/quick-start.mdx +++ b/docs/source/quick-start.mdx @@ -121,8 +121,7 @@ need to specify: ``` To upload more than one file at a time, take a look at this [guide](how-to-upstream) -which will introduce you to the [`Repository`] class and other methods for uploading -files. +which will introduce you to several methods for uploading files (with or without git). ## Next steps diff --git a/src/huggingface_hub/README.md b/src/huggingface_hub/README.md index c7e8918502..f66d968498 100644 --- a/src/huggingface_hub/README.md +++ b/src/huggingface_hub/README.md @@ -73,7 +73,7 @@ to the Hub: https://huggingface.co/docs/hub/adding-a-model. ### API utilities in `hf_api.py` -You don't need them for the standard publishing workflow, however, if you need a +You don't need them for the standard publishing workflow (ie. using git command line), however, if you need a programmatic way of creating a repo, deleting it (`⚠️ caution`), pushing a single file to a repo or listing models from the Hub, you'll find helpers in `hf_api.py`. Some example functionality available with the `HfApi` class: @@ -86,6 +86,7 @@ single file to a repo or listing models from the Hub, you'll find helpers in * `list_repo_objects()` * `delete_repo()` * `update_repo_visibility()` +* `create_commit()` * `upload_file()` * `delete_file()` @@ -281,7 +282,7 @@ if other errors happen in your script (a failed push counts as done). ### Need to upload very large (>5GB) files? -To upload large files (>5GB 🔥), you need to install the custom transfer agent +To upload large files (>5GB 🔥) from git command-line, you need to install the custom transfer agent for git-lfs, bundled in this package. To install, just run: