Norod78/but-the-old-gods-are-rising
Viewer • Updated • 30 • 292
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]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]
















(CivitAI)
It's just like your regular prompt "but the old gods are rising" in addition
You should use but the old gods are rising to trigger the image generation.
Weights for this model are available in Safetensors format.
Download them in the Files & versions tab.
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]
For more details, including weighting, merging and fusing LoRAs, check the documentation on loading LoRAs in diffusers
Base model
stabilityai/stable-diffusion-xl-base-1.0