-
Notifications
You must be signed in to change notification settings - Fork 570
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix thread-safety when fetching user secret in Google Colab (#1953)
* Fix thread-safety when fetching user secret * unused var * request secret only once * Update src/huggingface_hub/utils/_token.py Co-authored-by: Omar Sanseviero <osanseviero@gmail.com> --------- Co-authored-by: Omar Sanseviero <osanseviero@gmail.com>
- Loading branch information
1 parent
9c90f47
commit 939a0fa
Showing
1 changed file
with
61 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters