Skip to content

Commit 3003ff4

Browse files
authored
[bug fix] fix small bug in readme template of sdxl lora training script (huggingface#5914)
readme improvement and metadata fix
1 parent 5ffa603 commit 3003ff4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

examples/dreambooth/train_dreambooth_lora_sdxl.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ def save_model_card(
126126
- lora
127127
- template:sd-lora
128128
{img_str}
129-
---
130129
base_model: {base_model}
131130
instance_prompt: {instance_prompt}
132131
license: openrail++
@@ -141,8 +140,11 @@ def save_model_card(
141140
## Model description
142141
143142
These are {repo_id} LoRA adaption weights for {base_model}.
143+
144144
The weights were trained using [DreamBooth](https://dreambooth.github.io/).
145+
145146
LoRA for the text encoder was enabled: {train_text_encoder}.
147+
146148
Special VAE used for training: {vae_path}.
147149
148150
## Trigger words

0 commit comments

Comments
 (0)