update README.md 3469c5d
Atsushi Tanaka commited on
How to use nokolora/ffxiv-halmarut with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("Liberata/illustrious-xl-v1.0", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("nokolora/ffxiv-halmarut")
prompt = "ffxivhalmarut, 1girl, solo, au ra, long hair, red hair, green dress, green scales, long sleeves, puffy sleeves, juliet sleeves, green eyes, round eyewear, asymmetrical bangs, (tassel:0.8), eyewear strap, cowboy shot, looking at viewer, standing, hand on own chest, light smile, simple background, white background, "
image = pipe(prompt).images[0]