salma-remyx
commited on
Commit
•
e4d076a
1
Parent(s):
d170ced
End of training
Browse files- README.md +7 -7
- amumu-sdxl-lora.safetensors +1 -1
- image_0.png +2 -2
- image_1.png +2 -2
- image_2.png +2 -2
- image_3.png +2 -2
- pytorch_lora_weights.safetensors +1 -1
README.md
CHANGED
@@ -8,28 +8,28 @@ tags:
|
|
8 |
- template:sd-lora
|
9 |
widget:
|
10 |
|
11 |
-
- text: 'a photo of <s0><s1>'
|
12 |
output:
|
13 |
url:
|
14 |
"image_0.png"
|
15 |
|
16 |
-
- text: 'a photo of <s0><s1>'
|
17 |
output:
|
18 |
url:
|
19 |
"image_1.png"
|
20 |
|
21 |
-
- text: 'a photo of <s0><s1>'
|
22 |
output:
|
23 |
url:
|
24 |
"image_2.png"
|
25 |
|
26 |
-
- text: 'a photo of <s0><s1>'
|
27 |
output:
|
28 |
url:
|
29 |
"image_3.png"
|
30 |
|
31 |
base_model: stabilityai/stable-diffusion-xl-base-1.0
|
32 |
-
instance_prompt: a photo of <s0><s1>
|
33 |
license: openrail++
|
34 |
---
|
35 |
|
@@ -50,7 +50,7 @@ license: openrail++
|
|
50 |
- On AUTOMATIC1111, load the LoRA by adding `<lora:amumu-sdxl-lora:1>` to your prompt. On ComfyUI just [load it as a regular LoRA](https://comfyanonymous.github.io/ComfyUI_examples/lora/).
|
51 |
- *Embeddings*: download **[`amumu-sdxl-lora_emb.safetensors` here 💾](/salma-remyx/amumu-sdxl-lora/blob/main/amumu-sdxl-lora_emb.safetensors)**.
|
52 |
- Place it on it on your `embeddings` folder
|
53 |
-
- Use it by adding `amumu-sdxl-lora_emb` to your prompt. For example, `a photo of amumu-sdxl-lora_emb`
|
54 |
(you need both the LoRA and the embeddings as they were trained together for this LoRA)
|
55 |
|
56 |
|
@@ -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 photo 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 photo of <s0><s1> sad mummy, surrounded by fire'
|
12 |
output:
|
13 |
url:
|
14 |
"image_0.png"
|
15 |
|
16 |
+
- text: 'a photo of <s0><s1> sad mummy, surrounded by fire'
|
17 |
output:
|
18 |
url:
|
19 |
"image_1.png"
|
20 |
|
21 |
+
- text: 'a photo of <s0><s1> sad mummy, surrounded by fire'
|
22 |
output:
|
23 |
url:
|
24 |
"image_2.png"
|
25 |
|
26 |
+
- text: 'a photo of <s0><s1> sad mummy, surrounded by fire'
|
27 |
output:
|
28 |
url:
|
29 |
"image_3.png"
|
30 |
|
31 |
base_model: stabilityai/stable-diffusion-xl-base-1.0
|
32 |
+
instance_prompt: a photo of <s0><s1> sad mummy
|
33 |
license: openrail++
|
34 |
---
|
35 |
|
|
|
50 |
- On AUTOMATIC1111, load the LoRA by adding `<lora:amumu-sdxl-lora:1>` to your prompt. On ComfyUI just [load it as a regular LoRA](https://comfyanonymous.github.io/ComfyUI_examples/lora/).
|
51 |
- *Embeddings*: download **[`amumu-sdxl-lora_emb.safetensors` here 💾](/salma-remyx/amumu-sdxl-lora/blob/main/amumu-sdxl-lora_emb.safetensors)**.
|
52 |
- Place it on it on your `embeddings` folder
|
53 |
+
- Use it by adding `amumu-sdxl-lora_emb` to your prompt. For example, `a photo of amumu-sdxl-lora_emb sad mummy`
|
54 |
(you need both the LoRA and the embeddings as they were trained together for this LoRA)
|
55 |
|
56 |
|
|
|
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 photo of <s0><s1> sad mummy, surrounded by fire').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)
|
amumu-sdxl-lora.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 46698072
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a591599074009670bc09e912ca60c9f18bfe287ae1c672cceccdf33f19a32719
|
3 |
size 46698072
|
image_0.png
CHANGED
Git LFS Details
|
Git LFS Details
|
image_1.png
CHANGED
Git LFS Details
|
Git LFS Details
|
image_2.png
CHANGED
Git LFS Details
|
Git LFS Details
|
image_3.png
CHANGED
Git LFS Details
|
Git LFS Details
|
pytorch_lora_weights.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 46615272
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:489d52c4ea722d964ed3f7ed6b439378068edb54b3e0fb568517bdb9b47024d7
|
3 |
size 46615272
|