Text-to-Image
Diffusers
concept
cursed
lora
meme
memes
migrated
shitposting
stable-diffusion
template:sd-lora
Instructions to use analogspiderweb/cursed-images-sdxl-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use analogspiderweb/cursed-images-sdxl-lora 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("analogspiderweb/cursed-images-sdxl-lora") prompt = "cursed image " image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
File size: 2,425 Bytes
73a5d93 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 | ---
license: other
license_name: "bespoke-lora-trained-license"
license_link: https://multimodal.art/civitai-licenses?allowNoCredit=True&allowCommercialUse=Image&allowDerivatives=True&allowDifferentLicense=True
tags:
- concept
- cursed
- diffusers
- lora
- meme
- memes
- migrated
- shitposting
- stable-diffusion
- template:sd-lora
- text-to-image
base_model: stabilityai/stable-diffusion-xl-base-1.0
instance_prompt: cursed image
widget:
- text: 'cursed image '
output:
url: >-
5341274.jpeg
- text: 'cursed image '
output:
url: >-
5341275.jpeg
- text: 'cursed image '
output:
url: >-
5341283.jpeg
- text: 'cursed image '
output:
url: >-
5341297.jpeg
- text: 'cursed image '
output:
url: >-
5341298.jpeg
---
# Cursed Images SDXL LoRA
<Gallery />
This model was originally uploaded on [CivitAI](https://civitai.com/models/259970), by [analogspiderweb](https://civitai.com/user/analogspiderweb/models). The information below was provided by the author on CivitAI:
([CivitAI](https://civitai.com/models/259970))
## Model description
<p>Trained on top posts from <a target="_blank" rel="ugc" href="http://reddit.com/r/cursedimages">reddit.com/r/cursedimages</a></p><p>Some (but not all) preview images were made with TensorRT: <a target="_blank" rel="ugc" href="https://github.com/NVIDIA/Stable-Diffusion-WebUI-TensorRT">https://github.com/NVIDIA/Stable-Diffusion-WebUI-TensorRT</a></p>
## Trigger words
You should use `cursed image` to trigger the generation.
## Download model
Weights for this model are available in Safetensors format.
[Download](/analogspiderweb/cursed-images-sdxl-lora/tree/main) them in the Files & versions tab.
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
```py
from diffusers import AutoPipelineForText2Image
import torch
device = "cuda" if torch.cuda.is_available() else "cpu"
pipeline = AutoPipelineForText2Image.from_pretrained('stabilityai/stable-diffusion-xl-base-1.0', torch_dtype=torch.float16).to(device)
pipe.load_lora_weights('analogspiderweb/cursed-images-sdxl-lora', weight_name='cursedimagessdxl.safetensors')
image = pipeline('cursed image ').images[0]
```
For more details, including weighting, merging and fusing LoRAs, check the [documentation on loading LoRAs in diffusers](https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading_adapters)
|