Views
No views yet

1from diffusers import DiffusionPipeline
2import torch
3
4pipeline = DiffusionPipeline.from_pretrained("zhangyi617/sd14_naruto_full_finetune_0.005", torch_dtype=torch.float16)
5prompt = "a car is driving down the road with another car"
6image = pipeline(prompt).images[0]
7image.save("my_image.png")# TODO: add an example code snippet for running this diffusion pipeline