|
--- |
|
license: other |
|
license_name: bespoke-lora-trained-license |
|
license_link: >- |
|
https://multimodal.art/civitai-licenses?allowNoCredit=True&allowCommercialUse=Image&allowDerivatives=True&allowDifferentLicense=False |
|
tags: |
|
- text-to-image |
|
- stable-diffusion |
|
- lora |
|
- diffusers |
|
- template:sd-lora |
|
- migrated |
|
- concept |
|
- duck |
|
- rubber duck |
|
base_model: runwayml/stable-diffusion-v1-5 |
|
instance_prompt: Rubber duck |
|
widget: |
|
- text: Wonderwoman Rubber duck |
|
output: |
|
url: 18380848.jpeg |
|
- text: The girl with a pearl earring Rubber duck |
|
output: |
|
url: 18380853.jpeg |
|
- text: Albert Einstein Rubber duck |
|
output: |
|
url: 18380851.jpeg |
|
datasets: |
|
- Norod78/Rubber-Duck-blip-captions |
|
--- |
|
|
|
# Rubber Duck [SD1.5] |
|
|
|
<Gallery /> |
|
|
|
|
|
|
|
([CivitAI](https://civitai.com/models/)) |
|
|
|
## Model description |
|
|
|
<p>While SDXL is really good at out-of-the box generation of rubber ducks, SDv1.5 needs a little LoRA help. So here it is.</p><p>Use "Rubber duck" in your prompts.</p> |
|
|
|
## Trigger words |
|
You should use `Rubber duck` to trigger the image generation. |
|
|
|
|
|
## Download model |
|
|
|
Weights for this model are available in Safetensors format. |
|
|
|
[Download](/Norod78/rubber-duck-sd1-5/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 |
|
|
|
pipeline = AutoPipelineForText2Image.from_pretrained('runwayml/stable-diffusion-v1-5', torch_dtype=torch.float16).to('cuda') |
|
pipeline.load_lora_weights('Norod78/rubber-duck-sd1-5', weight_name='Rubber_Duck_SD1.5-000009.safetensors') |
|
image = pipeline('`Rubber duck`').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) |