Views
No views yet

1from diffusers import DiffusionPipeline
2import torch
3
4pipeline = DiffusionPipeline.from_pretrained("ButterChicken98/weeds_all_sd_2_1", torch_dtype=torch.float16)
5prompt = "A Carpetweed (Mollugo verticillata) plant growing in a dirt field. It has small, whorled green leaves and a low-spreading growth pattern. The plant is centered, in a natural agricultural field."
6image = pipeline(prompt).images[0]
7image.save("my_image.png")wandb run page.# TODO: add an example code snippet for running this diffusion pipeline