Instructions to use Norod78/but-the-old-gods-are-rising-sdxl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
How to use Norod78/but-the-old-gods-are-rising-sdxl 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/stable-diffusion-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("Norod78/but-the-old-gods-are-rising-sdxl")
prompt = "American gothic but the old gods are rising "
image = pipe(prompt).images[0]
from diffusers import AutoPipelineForText2Image
import torch
pipeline = AutoPipelineForText2Image.from_pretrained('stabilityai/stable-diffusion-xl-base-1.0', torch_dtype=torch.float16).to('cuda')
pipeline.load_lora_weights('Norod78/but-the-old-gods-are-rising-sdxl', weight_name='Old_gods_rising_SDXL.safetensors')
image = pipeline('A socially awkward potato but the old gods are rising ').images[0]