Text-to-Image
Diffusers
stable-diffusion
lora
template:sd-lora
migrated
style
denim jacket
zipper denim shirt
Instructions to use LuckyStyle/denim with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use LuckyStyle/denim with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("LuckyStyle/denim") prompt = " " image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
File size: 2,558 Bytes
e664bdf | 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 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 | ---
license: other
license_name: bespoke-lora-trained-license
license_link: https://multimodal.art/civitai-licenses?allowNoCredit=True&allowCommercialUse=Sell&allowDerivatives=True&allowDifferentLicense=True
tags:
- text-to-image
- stable-diffusion
- lora
- diffusers
- template:sd-lora
- migrated
- style
- denim jacket
- zipper denim shirt
base_model: black-forest-labs/FLUX.1-dev
instance_prompt: denim shirt
widget:
- text: ' '
output:
url: >-
68542852.jpeg
- text: ' '
output:
url: >-
68542855.jpeg
- text: ' '
output:
url: >-
68542851.jpeg
- text: ' '
output:
url: >-
68542854.jpeg
- text: ' '
output:
url: >-
68542853.jpeg
- text: ' '
output:
url: >-
68542846.jpeg
- text: ' '
output:
url: >-
68542848.jpeg
- text: ' '
output:
url: >-
68542845.jpeg
- text: ' '
output:
url: >-
68542842.jpeg
- text: ' '
output:
url: >-
68542849.jpeg
- text: ' '
output:
url: >-
68542839.jpeg
- text: ' '
output:
url: >-
68542989.jpeg
- text: ' '
output:
url: >-
68542986.jpeg
- text: ' '
output:
url: >-
68542993.jpeg
- text: ' '
output:
url: >-
68542991.jpeg
- text: ' '
output:
url: >-
68542990.jpeg
- text: ' '
output:
url: >-
68542992.jpeg
- text: ' '
output:
url: >-
68542984.jpeg
- text: ' '
output:
url: >-
68542988.jpeg
- text: ' '
output:
url: >-
68542987.jpeg
---
# Denim
<Gallery />
## Model description
<p>zipper denim outfit</p>
## Trigger words
You should use `denim shirt` to trigger the image generation.
## Download model
Weights for this model are available in Safetensors format.
[Download](/LuckyStyle/denim/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('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to(device)
pipeline.load_lora_weights('LuckyStyle/denim', weight_name='Denim-000001.safetensors')
image = pipeline('`denim shirt`').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)
|