Update README.md d725694 verified
Galen Ironheart commited on
How to use Greyhawks/agartha_xl with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("stabilityai/sdxl-turbo", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("Greyhawks/agartha_xl")
prompt = "agartha, the high-fantasy world of agartha, the inner world where houses and forest and flora and fauna are all around in the circles, (and the inner sun in the center), (ultra high definition, high octane, professional 3d rendering)"
image = pipe(prompt).images[0]