"unet": unet,
    "scheduler": scheduler,
    "vae": vae,
    "text_encoder": text_encoder,
    "tokenizer": tokenizer,
    "safety_checker": None,
    "feature_extractor": None,
}

pipeline = StableDiffusionPipeline(**components)
pipeline.push_to_hub("my-pipeline") The push_to_hub() function saves each component to a subfolder in the repository. Now you can reload the pipeline from your repository on the Hub:   Copied pipeline = StableDiffusio