from huggingface_hub import create_repo create_repo("lysandre/test-model") 'https://huggingface.co/lysandre/test-model'
-