@@ -5300,7 +5300,7 @@ def push_to_hub(
53005300 data_dir : Optional [str ] = None ,
53015301 commit_message : Optional [str ] = None ,
53025302 commit_description : Optional [str ] = None ,
5303- private : Optional [bool ] = False ,
5303+ private : Optional [bool ] = None ,
53045304 token : Optional [str ] = None ,
53055305 revision : Optional [str ] = None ,
53065306 create_pr : Optional [bool ] = False ,
@@ -5339,9 +5339,9 @@ def push_to_hub(
53395339 Additionally, description of the PR if a PR is created (`create_pr` is True).
53405340
53415341 <Added version="2.16.0"/>
5342- private (`bool`, *optional*, defaults to `False` ):
5343- Whether the dataset repository should be set to private or not. Only affects repository creation:
5344- a repository that already exists will not be affected by that parameter .
5342+ private (`bool`, *optional*):
5343+ Whether to make the repo private. If `None` (default), the repo will be public unless the
5344+ organization's default is private. This value is ignored if the repo already exists .
53455345 token (`str`, *optional*):
53465346 An optional authentication token for the Hugging Face Hub. If no token is passed, will default
53475347 to the token saved locally when logging in with `huggingface-cli login`. Will raise an error
0 commit comments