Initial upload for ansemflux 7f450f5
lifehaverdev commited on
How to use ms2stationthis/ansemflux 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("ms2stationthis/ansemflux")
prompt = "This image is a digital artwork featuring a close-up portrait of Ansem with dark skin and short, curly black hair. His facial features are prominently displayed, with a well-groomed beard and mustache. Ansem's expression is neutral, with his eyes slightly narrowed and his lips slightly parted, giving him a contemplative or serious demeanor. The lighting is soft and even, casting a gentle glow on his face, highlighting the natural texture of his skin."
image = pipe(prompt).images[0]