File size: 404 Bytes
08d6be3 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
from huggingface_hub import HfApi, create_repo
api = HfApi()
repo_id = "d-e-e-k-11/credit-card-fraud-detection"
try:
create_repo(
repo_id=repo_id,
repo_type="space",
space_sdk="docker",
private=False
)
print(f"Space created successfully: https://huggingface.co/spaces/{repo_id}")
except Exception as e:
print(f"Error creating space: {e}")
|