Add 4 files 0bd3a7f verified
Saurabh biswas commited on
How to use BusterBoo99xX/Sakura_Boruto_V2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("BusterBoo99xX/Sakura_Boruto_V2")
prompt = "masterpiece, absurdres ,1girl, haruno sakura,forehead mark, red hairband, red sleeveless dress,bracelet, from behind, white pants, (uchiha crest), looking at viewer, outdoor, cherry blossoms, floating hair, smile, cowboy shot, "
image = pipe(prompt).images[0]