!pip3 install diffusers accelerate !pip3 install transformers dif ! git clone https://github.com/huggingface/diffusers.git ! python diffusers/scripts/convert_original_stable_diffusion_to_diffusers.py --checkpoint_path ./HD-19.ckpt from diffusers import StableDiffusionPipeline import torch model_id = "dreamlike-art/dreamlike-photoreal-2.0" pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16) pipe = pipe.to("cuda"); res = " 1024x768px." prompt = "accurate biblical angel preaching about Buddha" +res image = pipe(prompt).images[0] image.save("./result.jpg") from IPython.display import Image Image('./result.jpg')