Views
No views yet
LALA_HK to trigger the image generation.1from diffusers import AutoPipelineForText2Image
2import torch
3
4pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to('cuda')
5pipeline.load_lora_weights('chau9ho/lala', weight_name='lala.safetensors')
6image = pipeline(' a small, fluffy poodle with a soft, curly coat in a light cream color,sitting on a soft, oversized blanket, surrounded by an array of colorful storybooks and plush toys, with a cozy reading nook in the background. The poodle gazes up with a joyful expression, as if inviting you to join in on the adventure. LALA_HK').images[0]
7image.save("my_image.png")