Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace model repo with repo in docstrings #2715

Merged
merged 1 commit into from
Dec 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/huggingface_hub/hf_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -2919,7 +2919,7 @@ def list_repo_files(
repo_id (`str`):
A namespace (user or an organization) and a repo name separated by a `/`.
revision (`str`, *optional*):
The revision of the model repository from which to get the information.
The revision of the repository from which to get the information.
repo_type (`str`, *optional*):
Set to `"dataset"` or `"space"` if uploading to a dataset or space, `None` or `"model"` if uploading to
a model. Default is `None`.
Expand Down Expand Up @@ -3610,7 +3610,7 @@ def update_repo_visibility(
repo_id (`str`, *optional*):
A namespace (user or an organization) and a repo name separated by a `/`.
private (`bool`, *optional*, defaults to `False`):
Whether the model repo should be private.
Whether the repository should be private.
token (Union[bool, str, None], optional):
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
Expand Down Expand Up @@ -3672,7 +3672,7 @@ def update_repo_settings(
* "manual": The repository is gated, and access requests require manual approval.
* False : The repository is not gated, and anyone can access it.
private (`bool`, *optional*):
Whether the model repo should be private.
Whether the repository should be private.
token (`Union[str, bool, None]`, *optional*):
A valid user access token (string). Defaults to the locally saved token,
which is the recommended method for authentication (see
Expand Down Expand Up @@ -5194,7 +5194,7 @@ def hf_hub_download(
filename (`str`):
The name of the file in the repo.
subfolder (`str`, *optional*):
An optional value corresponding to a folder inside the model repo.
An optional value corresponding to a folder inside the repository.
repo_type (`str`, *optional*):
Set to `"dataset"` or `"space"` if downloading from a dataset or space,
`None` or `"model"` if downloading from a model. Default is `None`.
Expand Down
Loading