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
| 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) | |