Views
No views yet
w3yg to trigger the image generation.1from diffusers import AutoPipelineForText2Image
2import torch
3
4pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-schnell', torch_dtype=torch.bfloat16).to('cuda')
5pipeline.load_lora_weights('cctuan/wedding-yg', weight_name='wedding-yg')
6image = pipeline('a bride and groom standing next to each other in front of a white background, both of them smiling and holding flower bouquets in their hands. The bride is wearing a white dress and the groom is holding a bouquet of flowers w3yg').images[0]
7image.save("my_image.png")