Skip to content

Commit

Permalink
Fixing a typo in the doc. (#1113)
Browse files Browse the repository at this point in the history
  • Loading branch information
Narsil authored Oct 13, 2022
1 parent 6a4538b commit e2fe217
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/huggingface_hub/hf_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -2054,7 +2054,7 @@ def upload_file(
... path_or_fileobj=fileobj,
... path_in_repo="remote/file/path.h5",
... repo_id="username/my-dataset",
... repo_type="datasets",
... repo_type="dataset",
... token="my_token",
... )
"https://huggingface.co/datasets/username/my-dataset/blob/main/remote/file/path.h5"
Expand Down

0 comments on commit e2fe217

Please sign in to comment.