You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
webui_example_pivotal=f"""- *Embeddings*: download **[`{embeddings_filename}.safetensors` here 💾](/{repo_id}/blob/main/{embeddings_filename}.safetensors)**.
128
+
- Place it on it on your `embeddings` folder
129
+
- Use it by adding `{embeddings_filename}` to your prompt. {instance_prompt_sentence}
130
+
(you need both the LoRA and the embeddings as they were trained together for this LoRA)
131
+
"""
113
132
iftoken_abstraction_dict:
114
133
forkey, valueintoken_abstraction_dict.items():
115
134
tokens="".join(value)
@@ -141,9 +160,14 @@ def save_model_card(
141
160
142
161
### These are {repo_id} LoRA adaption weights for {base_model}.
143
162
144
-
## Trigger words
163
+
## Download model
145
164
146
-
{trigger_str}
165
+
### Use it with UIs such as AUTOMATIC1111, Comfy UI, SD.Next, Invoke
166
+
167
+
- **LoRA**: download **[`{repo_folder}.safetensors` here 💾](/{repo_id}/blob/main/{repo_folder}.safetensors)**.
168
+
- Place it on your `models/Lora` folder.
169
+
- On AUTOMATIC1111, load the LoRA by adding `<lora:{repo_folder}:1>` to your prompt. On ComfyUI just [load it as a regular LoRA](https://comfyanonymous.github.io/ComfyUI_examples/lora/).
170
+
{webui_example_pivotal}
147
171
148
172
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
149
173
@@ -159,16 +183,12 @@ def save_model_card(
159
183
160
184
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)
161
185
162
-
## Download model
163
-
164
-
### Use it with UIs such as AUTOMATIC1111, Comfy UI, SD.Next, Invoke
165
-
166
-
- Download the LoRA *.safetensors [here](/{repo_id}/blob/main/pytorch_lora_weights.safetensors). Rename it and place it on your Lora folder.
167
-
- Download the text embeddings *.safetensors [here](/{repo_id}/blob/main/embeddings.safetensors). Rename it and place it on it on your embeddings folder.
186
+
## Trigger words
168
187
169
-
All [Files & versions](/{repo_id}/tree/main).
188
+
{trigger_str}
170
189
171
190
## Details
191
+
All [Files & versions](/{repo_id}/tree/main).
172
192
173
193
The weights were trained using [🧨 diffusers Advanced Dreambooth Training Script](https://github.com/huggingface/diffusers/blob/main/examples/advanced_diffusion_training/train_dreambooth_lora_sdxl_advanced.py).
0 commit comments