converted 30c4ffa
Allen commited on
How to use AIGaming/white_v20 with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("AIGaming/white_v20", dtype=torch.bfloat16, device_map="cuda")
prompt = "Score_9, Score_8_up, Score_7_up,1girl, solo, hair ornament, flower, hair flower, blurry, smile, brown hair, looking at viewer, lips, looking back, depth of field, portrait, long hair, blurry background, bangs, japanese clothes, bare shoulders, red lips, parted lips,outdoors,lake,"
image = pipe(prompt).images[0]