Skip to content

Commit 16e6997

Browse files
authored
[Advanced Diffusion Script] Add Widget default text (#6100)
add widget
1 parent 3b9b986 commit 16e6997

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: examples/advanced_diffusion_training/train_dreambooth_lora_sdxl_advanced.py

+2
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@ def save_model_card(
157157
base_model: {base_model}
158158
instance_prompt: {instance_prompt}
159159
license: openrail++
160+
widget:
161+
- text: '{validation_prompt if validation_prompt else instance_prompt}'
160162
---
161163
"""
162164

0 commit comments

Comments
 (0)