Skip to content

Commit 62d7e8d

Browse files
authored
Set use_auth_token to True by default (#204)
1 parent b1233a4 commit 62d7e8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/huggingface_hub/repository.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def __init__(
120120
local_dir: str,
121121
clone_from: Optional[str] = None,
122122
repo_type: Optional[str] = None,
123-
use_auth_token: Union[bool, str, None] = None,
123+
use_auth_token: Union[bool, str] = True,
124124
git_user: Optional[str] = None,
125125
git_email: Optional[str] = None,
126126
):

0 commit comments

Comments
 (0)