from huggingface_hub import HfApi

# Initialize the API
api = HfApi()

# Create a new dataset repository
repo_url = api.create_repo(repo_id="amaye15/object-segmentation", repo_type="dataset")

print(f"Dataset repository created: {repo_url}")