Views
No views yet
Mini_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/mini', weight_name='mini.safetensors')
6image = pipeline('photograph of a small white toy poodle dressed as a fluffy ghost, complete with a flowing white sheet and playful eye holes, sitting among carved pumpkins and autumn leaves, with a mischievous sparkle in its eyes.festive atmosphere, spooky charm, vibrant colors, playful expressions, enchanting details, Halloween spirit Mini_HK').images[0]
7image.save("my_image.png")