Skip to content

Commit

Permalink
Merge branch 'main' into 1682-collections-api
Browse files Browse the repository at this point in the history
  • Loading branch information
Wauplin authored Sep 22, 2023
2 parents c80a606 + dd84cce commit 1962d89
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 1962d89

Please sign in to comment.