update README.md with Ardbert 9c6b47d
Atsushi Tanaka commited on
How to use nokolora/ffxiv-arbert with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("OnomaAIResearch/Illustrious-XL-v1.0", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("nokolora/ffxiv-arbert")
prompt = "ffxivarbert, 1boy, solo, hyur, male focus, short hair, brown hair, blue eyes, beard, armor, faulds, fur trim, shoulder spikes, brown gloves, arm guards, leather, belt, black pants, greaves, cowboy shot, white background, simple background, looking at viewer, grin, standing, "
image = pipe(prompt).images[0]