We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 765f7c7 commit 5e2da9bCopy full SHA for 5e2da9b
src/huggingface_hub/commands/user.py
@@ -379,7 +379,7 @@ def login_token_event(t):
379
# Erase token and clear value to make sure it's not saved in the notebook.
380
token_widget.value = ""
381
clear_output()
382
- _login(token=token)
+ _login(HfApi(), token=token)
383
384
token_finish_button.on_click(login_token_event)
385
0 commit comments