Views
No views yet
Somie_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/somie', weight_name='somie.safetensors')
6image = pipeline('A playful photograph of a black dog dressed as a spooky vampire, complete with a tiny cape and playful fangs, sitting on a rocky outcrop under a full moon, surrounded by glowing jack-o'-lanterns and fluttering bats,festive atmosphere, whimsical details, vibrant colors, Halloween spirit, playful expression, enchanting nighttime setting, Somie_HK').images[0]
7image.save("my_image.png")