How to use SethyYann98/LeLo with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stabilityai/sdxl-turbo", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("SethyYann98/LeLo") prompt = "UNICODE\u0000\u0000<\u0000l\u0000o\u0000r\u0000a\u0000:\u0000L\u0000e\u0000g\u0000o\u0000_\u0000X\u0000L\u0000_\u0000v\u00002\u0000.\u00001\u0000:\u00000\u0000.\u00008\u0000>\u0000 \u0000L\u0000E\u0000G\u0000O\u0000 \u0000C\u0000r\u0000e\u0000a\u0000t\u0000o\u0000r\u0000,\u0000" image = pipe(prompt).images[0]
The community tab is the place to discuss and collaborate with the HF community!