Fer14 commited on
Commit
d25ae03
1 Parent(s): 2f63aeb

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +37 -0
README.md ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ language:
4
+ - en
5
+ library_name: transformers
6
+ pipeline_tag: text-to-image
7
+ tags:
8
+ - text-to-image
9
+ - stable-diffusion
10
+ - lora
11
+ - diffusers
12
+ - coffee
13
+ ---
14
+
15
+
16
+ base_model: stabilityai/stable-diffusion-xl-base-1.0
17
+
18
+ ## Image examples for the model:
19
+ ![Image 1](example.png)
20
+ > "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"
21
+
22
+ ## Download model
23
+
24
+ Weights for this model are available in Safetensors format.
25
+
26
+ [Download](/Fer14/sdxl-coffee-machinestree/main) them in the Files & versions tab.
27
+
28
+ ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
29
+
30
+ ```py
31
+ from diffusers import DiffusionPipeline
32
+ import torch
33
+
34
+ pipeline = DiffusionPipeline.from_pretrained('stabilityai/stable-diffusion-xl-base-1.0', torch_dtype=torch.float16).to('cuda')
35
+ pipeline.load_lora_weights('Fer14/sdxl-coffe-machines', weight_name='pytorch_lora_weights.safetensors')
36
+ image = pipeline('A yellow espresso machine with portafilter handle and milk frother, box-shaped, with no screen and no buttons ').images[0]
37
+ ```