| 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 | |
| base_model: stabilityai/stable-diffusion-2-1-base | |
| instance_prompt: | |
| widget: | |
| - text: 'Man sleeping next to clock' | |
| output: | |
| url: >- | |
| 7381798.jpeg | |
| - text: 'Lady death' | |
| output: | |
| url: >- | |
| 7381799.jpeg | |
| # nanasa | |
| <Gallery /> | |
| ## Model description | |
| <p>Model based on my personal artwork for experimentation.</p> | |
| ## Download model | |
| Weights for this model are available in Safetensors format. | |
| [Download](/dfrer/nanasa/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-2-1-base', torch_dtype=torch.float16).to(device) | |
| pipeline.load_lora_weights('dfrer/nanasa', weight_name='nanasa-000009.safetensors') | |
| image = pipeline('Lady death').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) | |