Views
No views yet

1from diffusers import DiffusionPipeline
2import torch
3
4pipeline = DiffusionPipeline.from_pretrained("ButterChicken98/soy_qwen_aerial_v1", torch_dtype=torch.float16)
5prompt = "A photo of a soybean leaf with Early stage Aerial Blight, showing small yellow spots, round lesions, and slight leaf deformation."
6image = pipeline(prompt).images[0]
7image.save("my_image.png")wandb run page.# TODO: add an example code snippet for running this diffusion pipeline