This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from huggingface_hub.hf_api import ( # type: ignore | |
REPO_TYPES, | |
REPO_TYPES_URL_PREFIXES, | |
HfApi, | |
_raise_for_status, | |
) | |
def update_repo_settings( | |
hf_api: HfApi, | |
repo_id: str, |
OlderNewer