File size: 242 Bytes
78d359b
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
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}")