pipeline = StableDiffusionPipeline(**components)
pipeline.push_to_hub("my-pipeline")
```  
The [`~diffusers.utils.PushToHubMixin.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:  
```py
pipeline = StableDiffusionPipeline.from_pretrained("your-namespace/my-pipeline")
```