in cookbook-efforts/domain-specific-datasets/parent_app/hub.py [0:0]
def duplicate_space_on_hub(source_repo, target_repo, hub_token, private=False):
duplicate_space(
from_id=source_repo,
to_id=target_repo,
token=hub_token,
private=private,
exist_ok=True,
)