How to use from the
Use from the
Diffusers library
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline

# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("SG161222/Realistic_Vision_V6.0_B1_noVAE", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("seb2oo/seb_realistic_avatar_lora")

prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]

Seb Realistic Avatar LoRA

LoRA trained on:

SG161222/Realistic_Vision_V6.0_B1_noVAE

Files

  • adapter_model.safetensors
  • adapter_config.json

Example

from diffusers import StableDiffusionPipeline
import torch

pipe = StableDiffusionPipeline.from_pretrained(
    "SG161222/Realistic_Vision_V6.0_B1_noVAE",
    torch_dtype=torch.float16
)

pipe.load_lora_weights("seb2oo/seb_realistic_avatar_lora")

image = pipe(
    "portrait photo of a person"
).images[0]

image.save("result.png")
Downloads last month
3
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for seb2oo/seb_realistic_avatar_lora

Adapter
(15)
this model