How to use aiPhone13/Yu 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("aiPhone13/Yu") prompt = "UNICODE\u0000\u0000l\u0000o\u0000o\u0000k\u0000i\u0000n\u0000g\u0000 \u0000d\u0000i\u0000r\u0000e\u0000c\u0000t\u0000l\u0000y\u0000 \u0000a\u0000t\u0000 \u0000t\u0000h\u0000e\u0000 \u0000c\u0000a\u0000m\u0000e\u0000r\u0000a\u0000 \u0000w\u0000i\u0000t\u0000h\u0000 \u0000a\u0000 \u0000g\u0000e\u0000n\u0000t\u0000l\u0000e\u0000,\u0000 \u0000a\u0000c\u0000c\u0000e\u0000s\u0000s\u0000o\u0000r\u0000i\u0000e\u0000s\u0000 \u0000a\u0000n\u0000d\u0000 \u0000b\u0000a\u0000c\u0000k\u0000g\u0000r\u0000o\u0000u\u0000n\u0000d\u0000.\u0000 \u0000T\u0000h\u0000e\u0000 \u0000i\u0000m\u0000a\u0000g\u0000e\u0000 \u0000i\u0000s\u0000 \u0000a\u0000 \u0000p\u0000h\u0000o\u0000t\u0000o\u0000g\u0000r\u0000a\u0000p\u0000h\u0000 \u0000o\u0000f\u0000 \u0000a\u0000 \u0000w\u0000o\u0000m\u0000a\u0000n\u0000 \u0000w\u0000i\u0000t\u0000h\u0000 \u0000a\u0000 \u0000m\u0000e\u0000d\u0000i\u0000u\u0000m\u0000 \u0000c\u0000o\u0000m\u0000p\u0000l\u0000e\u0000x\u0000i\u0000o\u0000n\u0000 \u0000a\u0000n\u0000d\u0000 \u0000s\u0000h\u0000o\u0000u\u0000l\u0000d\u0000e\u0000r\u0000-\u0000l\u0000e\u0000n\u0000g\u0000t\u0000h\u0000,\u0000 \u0000a\u0000n\u0000d\u0000 \u0000a\u0000 \u0000s\u0000l\u0000i\u0000g\u0000h\u0000t\u0000l\u0000y\u0000 \u0000r\u0000o\u0000u\u0000n\u0000d\u0000e\u0000d\u0000 \u0000j\u0000a\u0000w\u0000l\u0000i\u0000n\u0000e\u0000.\u0000,\u0000 \u0000w\u0000h\u0000i\u0000c\u0000h\u0000 \u0000c\u0000o\u0000n\u0000t\u0000r\u0000a\u0000s\u0000t\u0000s\u0000 \u0000s\u0000h\u0000a\u0000r\u0000p\u0000l\u0000y\u0000 \u0000w\u0000i\u0000t\u0000h\u0000 \u0000h\u0000e\u0000r\u0000 \u0000c\u0000l\u0000o\u0000t\u0000h\u0000i\u0000n\u0000g\u0000 \u0000a\u0000n\u0000d\u0000 \u0000t\u0000h\u0000e\u0000 \u0000o\u0000b\u0000j\u0000e\u0000c\u0000t\u0000s\u0000 \u0000i\u0000n\u0000 \u0000t\u0000h\u0000e\u0000 \u0000i\u0000m\u0000a\u0000g\u0000e\u0000.\u0000,\u0000 \u0000t\u0000e\u0000a\u0000l\u0000-\u0000c\u0000o\u0000l\u0000o\u0000r\u0000e\u0000d\u0000 \u0000t\u0000o\u0000p\u0000.\u0000 \u0000T\u0000h\u0000e\u0000 \u0000b\u0000a\u0000c\u0000k\u0000g\u0000r\u0000o\u0000u\u0000n\u0000d\u0000 \u0000i\u0000s\u0000 \u0000a\u0000 \u0000d\u0000a\u0000r\u0000k\u0000 \u0000t\u0000e\u0000a\u0000l\u0000 \u0000c\u0000o\u0000l\u0000o\u0000r\u0000,\u0000 \u0000w\u0000a\u0000v\u0000y\u0000 \u0000b\u0000l\u0000o\u0000n\u0000d\u0000e\u0000 \u0000h\u0000a\u0000i\u0000r\u0000 \u0000t\u0000h\u0000a\u0000t\u0000 \u0000f\u0000a\u0000l\u0000l\u0000s\u0000 \u0000p\u0000a\u0000s\u0000t\u0000 \u0000h\u0000e\u0000r\u0000 \u0000s\u0000h\u0000o\u0000u\u0000l\u0000d\u0000e\u0000r\u0000s\u0000.\u0000 \u0000S\u0000h\u0000e\u0000 \u0000h\u0000a\u0000s\u0000 \u0000a\u0000 \u0000s\u0000l\u0000e\u0000n\u0000d\u0000e\u0000r\u0000 \u0000b\u0000u\u0000i\u0000l\u0000d\u0000 \u0000a\u0000n\u0000d\u0000 \u0000i\u0000s\u0000 \u0000d\u0000r\u0000e\u0000s\u0000s\u0000e\u0000d\u0000 \u0000i\u0000n\u0000 \u0000a\u0000 \u0000f\u0000o\u0000r\u0000m\u0000-\u0000f\u0000i\u0000t\u0000t\u0000i\u0000n\u0000g\u0000,\u0000 \u0000s\u0000t\u0000r\u0000a\u0000i\u0000g\u0000h\u0000t\u0000 \u0000b\u0000l\u0000o\u0000n\u0000d\u0000e\u0000 \u0000h\u0000a\u0000i\u0000r\u0000,\u0000 \u0000a\u0000c\u0000c\u0000e\u0000s\u0000s\u0000o\u0000r\u0000i\u0000e\u0000s\u0000 \u0000a\u0000n\u0000d\u0000 \u0000b\u0000a\u0000c\u0000k\u0000g\u0000r\u0000o\u0000u\u0000n\u0000d\u0000.\u0000 \u0000T\u0000h\u0000i\u0000s\u0000 \u0000i\u0000s\u0000 \u0000a\u0000 \u0000h\u0000i\u0000g\u0000h\u0000-\u0000c\u0000o\u0000n\u0000t\u0000r\u0000a\u0000s\u0000t\u0000" image = pipe(prompt).images[0]
The community tab is the place to discuss and collaborate with the HF community!