How to use YuLexuan30/Yu_Lexuan_Archer 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("YuLexuan30/Yu_Lexuan_Archer") prompt = "yulexuanblk. The image features Yu Lexuan, an Asian man with long dark hair and a meshed headband with a top headpiece. He wears a traditional chinese attire composed of a white shirt with black shoulder pads and cuffs. A black belt cinches at his waist. The solid white background suggests that this is a promotional image for a series or film. The overall style is reminiscent of traditional Chinese clothing, evoking a sense of elegance and sophistication. The atmosphere is one of refinement and poise, with Yu Lexuan's confident expression adding to the overall sense of gravitas." image = pipe(prompt).images[0]
The community tab is the place to discuss and collaborate with the HF community!