arts by loading a scheduler and tokenizer. You can choose to use a different scheduler here if you want:   Copied noise_scheduler = DDPMScheduler.from_pretrained(args.pretrained_model_name_or_path, subfolder="scheduler")
tokenizer = CLIPTokenizer.from_pretrained(
    args.pretrained_model_name_or_path, subfolder="tokenizer", revision=args.revision
) Then the script loads the UNet model:   Copied load_model = UNet2DConditionModel.from_pretrained