Instructions to use witchscientist/BetterCocks2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use witchscientist/BetterCocks2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("witchscientist/BetterCocks2") prompt = "UNICODE\u0000\u0000m\u0000a\u0000s\u0000t\u0000e\u0000r\u0000p\u0000i\u0000e\u0000c\u0000e\u0000,\u0000 \u0000p\u0000r\u0000o\u0000f\u0000e\u0000s\u0000s\u0000i\u0000o\u0000n\u0000a\u0000l\u0000 \u0000 \u0000p\u0000h\u0000o\u0000t\u0000o\u0000 \u0000 \u0000o\u0000f\u0000 \u0000a\u0000 \u0000 \u0000h\u0000a\u0000n\u0000d\u0000s\u0000o\u0000m\u0000e\u0000 \u0000m\u0000a\u0000n\u0000 \u0000m\u0000o\u0000d\u0000e\u0000,\u0000 \u0000l\u0000a\u0000r\u0000g\u0000e\u0000 \u0000t\u0000e\u0000s\u0000t\u0000i\u0000c\u0000l\u0000e\u0000s\u0000,\u0000 \u0000e\u0000r\u0000e\u0000c\u0000t\u0000 \u0000p\u0000e\u0000n\u0000i\u0000s\u0000,\u0000 \u0000f\u0000i\u0000t\u0000n\u0000e\u0000s\u0000s\u0000 \u0000m\u0000o\u0000d\u0000e\u0000l\u0000,\u0000 \u0000<\u0000l\u0000y\u0000c\u0000o\u0000:\u0000t\u0000g\u0000_\u0000f\u0000i\u0000n\u0000a\u0000l\u00001\u0000:\u00000\u0000.\u00007\u0000>\u0000,\u0000 \u0000b\u0000o\u0000k\u0000e\u0000h\u0000,\u0000 \u0000s\u0000m\u0000i\u0000l\u0000e\u0000,\u0000 \u0000s\u0000h\u0000o\u0000r\u0000t\u0000 \u0000h\u0000a\u0000i\u0000r\u0000,\u0000 \u0000i\u0000n\u0000 \u0000c\u0000i\u0000t\u0000y\u0000 \u0000c\u0000e\u0000n\u0000t\u0000e\u0000r\u0000 \u0000,\u0000 \u0000f\u0000r\u0000o\u0000m\u0000 \u0000b\u0000e\u0000l\u0000o\u0000w\u0000,\u0000 \u0000" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
| tags: | |
| - text-to-image | |
| - stable-diffusion | |
| - lora | |
| - diffusers | |
| - template:sd-lora | |
| widget: | |
| - text: "UNICODE\0\0m\0a\0s\0t\0e\0r\0p\0i\0e\0c\0e\0,\0 \0p\0r\0o\0f\0e\0s\0s\0i\0o\0n\0a\0l\0 \0 \0p\0h\0o\0t\0o\0 \0 \0o\0f\0 \0a\0 \0 \0h\0a\0n\0d\0s\0o\0m\0e\0 \0m\0a\0n\0 \0m\0o\0d\0e\0,\0 \0l\0a\0r\0g\0e\0 \0t\0e\0s\0t\0i\0c\0l\0e\0s\0,\0 \0e\0r\0e\0c\0t\0 \0p\0e\0n\0i\0s\0,\0 \0f\0i\0t\0n\0e\0s\0s\0 \0m\0o\0d\0e\0l\0,\0 \0<\0l\0y\0c\0o\0:\0t\0g\0_\0f\0i\0n\0a\0l\01\0:\00\0.\07\0>\0,\0 \0b\0o\0k\0e\0h\0,\0 \0s\0m\0i\0l\0e\0,\0 \0s\0h\0o\0r\0t\0 \0h\0a\0i\0r\0,\0 \0i\0n\0 \0c\0i\0t\0y\0 \0c\0e\0n\0t\0e\0r\0 \0,\0 \0f\0r\0o\0m\0 \0b\0e\0l\0o\0w\0,\0 \0" | |
| output: | |
| url: images/18710-masterpiece professional photo of a handsome man mode.jpeg | |
| base_model: runwayml/stable-diffusion-v1-5 | |
| instance_prompt: penis, cock, nsfw | |
| # Better Cocks v2 | |
| <Gallery /> | |
| ## Trigger words | |
| You should use `penis` to trigger the image generation. | |
| You should use `cock` to trigger the image generation. | |
| You should use `nsfw` to trigger the image generation. | |
| ## Download model | |
| Weights for this model are available in Safetensors format. | |
| [Download](/witchscientist/BetterCocks2/tree/main) them in the Files & versions tab. | |