Views
No views yet
chart separated into data primitives and decorative elements to trigger the image generation.1from diffusers import AutoPipelineForText2Image
2import torch
3pipeline = AutoPipelineForText2Image.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16).to('cuda')
4pipeline.load_lora_weights('hjh3927/flux-fill-chart1-2-data-lora', weight_name='pytorch_lora_weights.safetensors')
5image = pipeline('Three-panel image. [Left]: Full infographic with data elements and decorations. [Center]: Only data elements(bars, pie or annular sectors, lines, scatter points). [Right]: Only decorative elements(text labels, titles, icons, pictograms, arrows). Center and Right are complementary, together forming the Left.').images[0]# TODO: add an example code snippet for running this diffusion pipeline