Skip to content

Commit ab336b1

Browse files
add doc
Signed-off-by: Yiheng Wang <vennw@nvidia.com>
1 parent 535d0a3 commit ab336b1

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

monai/bundle/scripts.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,9 @@ def download(
528528
If source is "ngc_private", you need specify the NGC_API_KEY in the environment variable.
529529
repo: repo name. This argument is used when `url` is `None` and `source` is "github" or "huggingface_hub".
530530
If `source` is "github", it should be in the form of "repo_owner/repo_name/release_tag".
531-
If `source` is "huggingface_hub", it should be in the form of "repo_owner/repo_name".
531+
If `source` is "huggingface_hub", it should be in the form of "repo_owner/repo_name". Please note that
532+
bundles for "monaihosting" source are also hosted on Hugging Face Hub, but the "repo_id" is always in the form
533+
of "MONAI/bundle_name", therefore, this argument is not required for "monaihosting" source.
532534
If `source` is "ngc_private", it should be in the form of "org/org_name" or "org/org_name/team/team_name",
533535
or you can specify the environment variable NGC_ORG and NGC_TEAM.
534536
url: url to download the data. If not `None`, data will be downloaded directly

0 commit comments

Comments
 (0)