Views
No views yet
lego set in style of TOK to trigger the image generation.1from diffusers import AutoPipelineForText2Image
2import torch
3pipeline = AutoPipelineForText2Image.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16).to('cuda')
4pipeline.load_lora_weights('merve/flux-lego-lora-dreambooth', weight_name='pytorch_lora_weights.safetensors')
5image = pipeline('lego set in style of TOK, a horse eating a ramen').images[0]