Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Wauplin committed Aug 29, 2024
1 parent cac2b50 commit cdfb27f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/huggingface_hub/_upload_large_folder.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ def upload_large_folder_internal(
if repo_type is None:
raise ValueError(
"For large uploads, `repo_type` is explicitly required. Please set it to `model`, `dataset` or `space`."
" If you are using the CLI, pass it as `--repo-type=model`."
)
if repo_type not in REPO_TYPES:
raise ValueError(f"Invalid repo type, must be one of {REPO_TYPES}")
Expand Down

0 comments on commit cdfb27f

Please sign in to comment.