Skip to content

Commit

Permalink
Merge branch '1682-collections-api' of github.com:huggingface/hugging…
Browse files Browse the repository at this point in the history
…face_hub into 1682-collections-api
  • Loading branch information
Wauplin committed Sep 22, 2023
2 parents 6cb84c4 + 1962d89 commit 4a42140
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/huggingface_hub/_login.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,19 @@ def login(
a cli command that wraps [`login`].
<Tip>
[`login`] is a drop-in replacement method for [`notebook_login`] as it wraps and
extends its capabilities.
</Tip>
<Tip>
When the token is not passed, [`login`] will automatically detect if the script runs
in a notebook or not. However, this detection might not be accurate due to the
variety of notebooks that exists nowadays. If that is the case, you can always force
the UI by using [`notebook_login`] or [`interpreter_login`].
</Tip>
Args:
Expand Down

0 comments on commit 4a42140

Please sign in to comment.