Views
No views yet
a photo of a canola plant rosette with large green leaves that is about 35 days old. to trigger the image generation.1from diffusers import AutoPipelineForText2Image
2import torch
3pipeline = AutoPipelineForText2Image.from_pretrained(stabilityai/stable-diffusion-3-medium-diffusers, torch_dtype=torch.float16).to('cuda')
4pipeline.load_lora_weights('rdeinla/test-can-3', weight_name='pytorch_lora_weights.safetensors')
5image = pipeline('A photo of a canola plant rosette with large green leaves. The leaves are ruffled around the edges and have prominent ridges. It is about 35 days old. It grows out of a square box covered with bright blue fabric on a bright blue background').images[0]diffusers_lora_weights.safetensors here 💾.
models/Lora folder.<lora:your_new_name:1> to your prompt. On ComfyUI just load it as a regular LoRA.# TODO: add an example code snippet for running this diffusion pipeline