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
|
Download README.md from LuckyStyle/denim: direct link, hf CLI and curl.
- Browser
- Download file 2.56 kB
-
https://huggingface.co/LuckyStyle/denim/resolve/main/README.md
- Command line
-
hf download hf://LuckyStyle/denim/README.md
-
curl -L -o README.md https://huggingface.co/LuckyStyle/denim/resolve/main/README.md
2.56 kB
| 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) | |