merve HF staff commited on
Commit
b452e15
1 Parent(s): a85a9b2

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -5
README.md CHANGED
@@ -8,22 +8,22 @@ tags:
8
  - template:sd-lora
9
  widget:
10
 
11
- - text: 'a lego set of an astronaut riding a horse, in the style of <s0><s1>'
12
  output:
13
  url:
14
  "image_0.png"
15
 
16
- - text: 'a lego set of an astronaut riding a horse, in the style of <s0><s1>'
17
  output:
18
  url:
19
  "image_1.png"
20
 
21
- - text: 'a lego set of an astronaut riding a horse, in the style of <s0><s1>'
22
  output:
23
  url:
24
  "image_2.png"
25
 
26
- - text: 'a lego set of an astronaut riding a horse, in the style of <s0><s1>'
27
  output:
28
  url:
29
  "image_3.png"
@@ -69,7 +69,7 @@ state_dict = load_file(embedding_path)
69
  pipeline.load_textual_inversion(state_dict["clip_l"], token=["<s0>", "<s1>"], text_encoder=pipeline.text_encoder, tokenizer=pipeline.tokenizer)
70
  pipeline.load_textual_inversion(state_dict["clip_g"], token=["<s0>", "<s1>"], text_encoder=pipeline.text_encoder_2, tokenizer=pipeline.tokenizer_2)
71
 
72
- image = pipeline('a lego set of an astronaut riding a horse, in the style of <s0><s1>').images[0]
73
  ```
74
 
75
  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)
 
8
  - template:sd-lora
9
  widget:
10
 
11
+ - text: 'a lego set in the style of <s0><s1>, an astronaut riding a horse'
12
  output:
13
  url:
14
  "image_0.png"
15
 
16
+ - text: 'a lego set in the style of <s0><s1>, an astronaut riding a horse'
17
  output:
18
  url:
19
  "image_1.png"
20
 
21
+ - text: 'a lego set in the style of <s0><s1>, an astronaut riding a horse'
22
  output:
23
  url:
24
  "image_2.png"
25
 
26
+ - text: 'a lego set in the style of <s0><s1>, an astronaut riding a horse'
27
  output:
28
  url:
29
  "image_3.png"
 
69
  pipeline.load_textual_inversion(state_dict["clip_l"], token=["<s0>", "<s1>"], text_encoder=pipeline.text_encoder, tokenizer=pipeline.tokenizer)
70
  pipeline.load_textual_inversion(state_dict["clip_g"], token=["<s0>", "<s1>"], text_encoder=pipeline.text_encoder_2, tokenizer=pipeline.tokenizer_2)
71
 
72
+ image = pipeline('a lego set in the style of <s0><s1>, an astronaut riding a horse').images[0]
73
  ```
74
 
75
  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)