Views
No views yet
a photo of a young canola plant that is about 12 days old. It has a few developing leaves. 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-1', weight_name='pytorch_lora_weights.safetensors')
5image = pipeline('A photo of a young canola plant with developing leaves. Half of the leaves are ruffled around the edges, and half are round. It is about 12 days old. It is growing in dark, nutrient-rich soil. It is contained within a smooth, bright blue cylindrical cup 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