Update README.md 201c6ef verified
Choquin commited on
How to use furaidosu/flux-lora-simple-vector 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-schnell", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("furaidosu/flux-lora-simple-vector")
prompt = "v3ct0r style, simple flat vector art, isolated on white bg, cat"
image = pipe(prompt).images[0]