Views
No views yet
a photo of sks action figure toy to trigger the image generation.1from diffusers import AutoPipelineForText2Image
2import torch
3pipeline = AutoPipelineForText2Image.from_pretrained("black-forest-labs/FLUX.2", torch_dtype=torch.bfloat16).to('cuda')
4pipeline.load_lora_weights('IEKOO/trained-flux2-klein-4b-actionfigure_1', weight_name='pytorch_lora_weights.safetensors')
5image = pipeline('a photo of sks action figure toy on a shelf').images[0]# TODO: add an example code snippet for running this diffusion pipeline