Brazil XL
Collection
Bringing Brazilian culture to the latent space • 12 items • Updated • 1
How to use lucianosb/cathedral-of-brasilia-brazil-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/stable-diffusion-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("lucianosb/cathedral-of-brasilia-brazil-xl")
prompt = "cathedral of brasília"
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("lucianosb/cathedral-of-brasilia-brazil-xl")
prompt = "cathedral of brasília"
image = pipe(prompt).images[0]





Weight: above 0.6 for better realism
Keywords:
This model was trained with Creative-Commons licensed images on Openverse.
You should use Cathedral of Brasília to trigger the image generation.
You should use Cathedral to trigger the image generation.
Weights for this model are available in Safetensors format.
Download them in the Files & versions tab.
Base model
stabilityai/stable-diffusion-xl-base-1.0