def add_model_config(path):
    """add model config path or file and update registry"""
    if not isinstance(path, Path):
        path = Path(path)
    _MODEL_CONFIG_PATHS.append(path)
    _rescan_model_configs()
add model config path or file and update registry
models/tta/picoaudio/picoaudio/audioldm/clap/open_clip/factory.py