|
--- |
|
license: mit |
|
language: |
|
- en |
|
library_name: totransformers |
|
pipeline-tag: text-to-image |
|
tags: |
|
- text-to-image |
|
- stable-diffusion |
|
- lora |
|
- diffusers |
|
- coffee |
|
base_model: stabilityai/stable-diffusion-xl-base-1.0 |
|
instance_prompt: null |
|
widget: |
|
- text: 'A black coffee machine, box shaped, with a black screen and no visible buttons and the following components: milk frother, adjustable cup holder, removable tray' |
|
output: |
|
url: exmaple.png |
|
--- |
|
|
|
# Coffee machines ☕ - SDXL LoRA |
|
|
|
## Image examples for the model: |
|
![Image 1](example.png) |
|
> A black coffee machine, box shaped, with a black screen and no visible buttons and the following components: milk frother, adjustable cup holder, removable tray |
|
|
|
## 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] |
|
``` |
|
|