Views
No views yet
a photo of a young canola plant that is about 20 days old. It has five leaves that are starting to develop 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-2', weight_name='pytorch_lora_weights.safetensors')
5image = pipeline('A photo of a young canola plant, about 20 to 29 days old with five developing leaves. 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