Views
No views yet
infographic chart 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/new-chart3-1-flux-fill-lora', weight_name='pytorch_lora_weights.safetensors')
5image = pipeline('This is a four-panel image grid: [TOP-LEFT]: The original chart. [TOP-RIGHT]: An edited version of [TOP-LEFT] keeping only data elements. [BOTTOM-LEFT]: Another chart. [BOTTOM-RIGHT]: An edited version of [BOTTOM-LEFT] applying the same data-only transformation as in [TOP-RIGHT]. ').images[0]# TODO: add an example code snippet for running this diffusion pipeline