Views
No views yet
1from diffusers import AutoPipelineForText2Image
2import torch
3
4pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.2-dev', torch_dtype=torch.float16).to('cuda')
5pipeline.load_lora_weights('busetolunay/assets2-lowdim-2000eq', weight_name='assets2_lowdim_2000eq.safetensors')
6image = pipeline('bl5dg style. a wizard tower with a spiral staircase winding around the outside, a crooked pointed roof, and a small balcony holding a telescope').images[0]
7image.save("my_image.png")