def setup_dataset_on_hub()

in cookbook-efforts/domain-specific-datasets/project_app/hub.py [0:0]


def setup_dataset_on_hub(repo_id, hub_token):
    # create an empty dataset repo on the hub
    hf_api.create_repo(
        repo_id=repo_id,
        token=hub_token,
        repo_type="dataset",
        exist_ok=True,
    )