from huggingface_hub import HfApi | |
# Replace 'your_api_token' with your actual Hugging Face API token | |
api = HfApi() | |
# Create the repository | |
api.create_repo( | |
repo_id='mexicanamerican/openweb-ui', | |
repo_type='space', | |
space_sdk='docker' | |
) | |
from huggingface_hub import HfApi | |
# Replace 'your_api_token' with your actual Hugging Face API token | |
api = HfApi() | |
# Create the repository | |
api.create_repo( | |
repo_id='mexicanamerican/openweb-ui', | |
repo_type='space', | |
space_sdk='docker' | |
) | |