pipeline = UnetSchedulerOneForwardPipeline(unet=unet, scheduler=scheduler)
output = pipeline()
# load pretrained weights
pipeline = UnetSchedulerOneForwardPipeline.from_pretrained("google/ddpm-cifar10-32", use_safetensors=True)
output = pipeline()
```  
You can either share your pipeline as a GitHub community pipeline or Hub community pipeline.  
<hfoptions id="pipeline type">
<hfoption id="GitHub pipeline">