How to use strangerzonehf/Ld-Art 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("strangerzonehf/Ld-Art") prompt = "LD Art, A black and white drawing of a man sitting on a chair. The man is wearing a short sleeve button down shirt with a black collar. His pants are gray with black stripes on them. He has a black hat on his head. His eyes are closed and his mouth is slightly open. His right hand is resting on his hip. His left hand is raised in the air. The wall behind the man is white." image = pipe(prompt).images[0]
The community tab is the place to discuss and collaborate with the HF community!