How to use JacobLinCool/flux-gdg-2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("JacobLinCool/flux-gdg-2") prompt = "\u0000\u0000A\u0000 \u0000w\u0000o\u0000m\u0000a\u0000n\u0000 \u0000s\u0000t\u0000a\u0000n\u0000d\u0000i\u0000n\u0000g\u0000 \u0000o\u0000u\u0000t\u0000d\u0000o\u0000o\u0000r\u0000s\u0000 \u0000i\u0000n\u0000 \u0000a\u0000 \u0000l\u0000u\u0000s\u0000h\u0000,\u0000 \u0000g\u0000r\u0000e\u0000e\u0000n\u0000 \u0000f\u0000o\u0000r\u0000e\u0000s\u0000t\u0000 \u0000s\u0000e\u0000t\u0000t\u0000i\u0000n\u0000g\u0000.\u0000 \u0000S\u0000h\u0000e\u0000 \u0000i\u0000s\u0000 \u0000w\u0000e\u0000a\u0000r\u0000i\u0000n\u0000g\u0000 \u0000a\u0000 \u0000w\u0000h\u0000i\u0000t\u0000e\u0000 \u0000h\u0000o\u0000o\u0000d\u0000i\u0000e\u0000 \u0000w\u0000i\u0000t\u0000h\u0000 \u0000a\u0000 \u0000b\u0000o\u0000l\u0000d\u0000,\u0000 \u0000s\u0000t\u0000y\u0000l\u0000i\u0000z\u0000e\u0000d\u0000 \u0000G\u0000D\u0000G\u0000 \u0000l\u0000o\u0000g\u0000o\u0000 \u0000o\u0000n\u0000 \u0000t\u0000h\u0000e\u0000 \u0000c\u0000h\u0000e\u0000s\u0000t\u0000.\u0000" image = pipe(prompt).images[0]
The community tab is the place to discuss and collaborate with the HF community!