You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is kinda expected, no? It's not really an error, it's a warning. The idea is to get quicker adoption by having a warning explaining authentication on Colab when a user tries to authenticate.
For the specific huggingface_hub.logout it feels kinda weird but looks like a corner case no? The logout mechanism should be to disable the HF_TOKEN secret in the Colab settings directly.
To clarify, doing logout will not remove the secret, is that correct?
That is correct.
However if the secret exists + is shared with the notebook and you call logout, an error will be raised to tell you that you are not logged out. <= this is the real use case that we should take care of IMO.
Yes, I think it's a bug in the case of logout, but I agree it's clearly a corner case.
To clarify, this corner case happens only if HF_TOKEN does not exist in your secrets. If it exists but is not shared with the notebook, the warning would be different. We can modify the workflow for logout specifically but low priority imo.
Describe the bug
In Google Colab, if I have no
HF_TOKEN
secret, I get a long errorReproduction
Logs
The text was updated successfully, but these errors were encountered: