Views
No views yet
n30n_51gn to trigger the image generation.1from diffusers import AutoPipelineForText2Image
2import torch
3
4device = "cuda" if torch.cuda.is_available() else "cpu"
5
6pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to(device)
7pipeline.load_lora_weights('Purz/neon-sign', weight_name='purz-n30n_51gn.safetensors')
8image = pipeline('n30n_51gn, a neon sign of a donut with sprinkles, sign that says "The Donut Hole"').images[0]