Fer14's picture
Update README.md
3b286bf verified
---
license: mit
language:
- en
tags:
- text-to-image
- stable-diffusion
- stable-diffusion-diffusers
- lora
- diffusers
- coffee
base_model: stabilityai/stable-diffusion-xl-base-1.0
instance_prompt: null
widget:
- text: 'Brown espresso coffee machine, cubed shaped, featuring a removable tray, built-in water filter, and 2 pink buttons.'
output:
url: example.png
---
# Coffee machines ☕ - SDXL LoRA
## Image examples for the model:
![Image 1](example.png)
> Brown espresso coffee machine, cubed shaped, featuring a removable tray, built-in water filter, and 2 pink buttons.
## Download model
Weights for this model are available in Safetensors format.
[Download](/Fer14/sdxl-coffee-machines/tree/main) them in the Files & versions tab.
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
```py
from diffusers import DiffusionPipeline
import torch
pipeline = DiffusionPipeline.from_pretrained('stabilityai/stable-diffusion-xl-base-1.0', torch_dtype=torch.float16).to('cuda')
pipeline.load_lora_weights('Fer14/sdxl-coffe-machines', weight_name='pytorch_lora_weights.safetensors')
image = pipeline('A yellow espresso machine with portafilter handle and milk frother, box-shaped, with no screen and no buttons ').images[0]
```