al
“offline-mode” to use this method in a
firewalled environment.  Example:   Copied from diffusers import UNet2DConditionModel

unet = UNet2DConditionModel.from_pretrained("runwayml/stable-diffusion-v1-5", subfolder="unet")  If you get the error message below, you need to finetune the weights for your downstream task:   Copied Some weights of UNet2DConditionModel were not initialized from the model checkpoint at runwayml/stable-diffusion-v1-5 