Chan-Y commited on
Commit
03849b1
1 Parent(s): 297d8c5

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +17 -5
README.md CHANGED
@@ -7,12 +7,23 @@ tags:
7
  - lora
8
  - template:sd-lora
9
  widget:
10
-
11
- - text: 'in the style of TOK'
12
-
 
 
 
 
 
 
 
 
 
13
  base_model: stabilityai/stable-diffusion-xl-base-1.0
14
  instance_prompt: in the style of TOK
15
  license: openrail++
 
 
16
  ---
17
 
18
  # SDXL LoRA DreamBooth - besni
@@ -39,9 +50,10 @@ from diffusers import AutoPipelineForText2Image
39
  import torch
40
 
41
  pipeline = AutoPipelineForText2Image.from_pretrained('stabilityai/stable-diffusion-xl-base-1.0', torch_dtype=torch.float16).to('cuda')
42
- pipeline.load_lora_weights('besni', weight_name='pytorch_lora_weights.safetensors')
43
 
44
- image = pipeline('in the style of TOK').images[0]
 
45
  ```
46
 
47
  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)
 
7
  - lora
8
  - template:sd-lora
9
  widget:
10
+ - text: in the style of TOK
11
+ output:
12
+ url: 000.png
13
+ - text: Face closeup, Beautiful young woman
14
+ output:
15
+ url: 001.png
16
+ - text: in the style of TOK
17
+ output:
18
+ url: 002.png
19
+ - text: beautiful woman with red eyes
20
+ output:
21
+ url: 003.png
22
  base_model: stabilityai/stable-diffusion-xl-base-1.0
23
  instance_prompt: in the style of TOK
24
  license: openrail++
25
+ datasets:
26
+ - Chan-Y/besni
27
  ---
28
 
29
  # SDXL LoRA DreamBooth - besni
 
50
  import torch
51
 
52
  pipeline = AutoPipelineForText2Image.from_pretrained('stabilityai/stable-diffusion-xl-base-1.0', torch_dtype=torch.float16).to('cuda')
53
+ pipeline.load_lora_weights('Chan-Y/besni', weight_name='pytorch_lora_weights.safetensors')
54
 
55
+ image = pipeline('in the style of TOK', num_inference_steps=50).images[0]
56
+ image
57
  ```
58
 
59
  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)