Skip to content

Commit 007afd0

Browse files
committed
make style && make quality
1 parent 276eb03 commit 007afd0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

examples/advanced_diffusion_training/train_dreambooth_lora_sdxl_advanced.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,7 @@ def save_model_card(
121121
{"text": validation_prompt if validation_prompt else " ", "output": {"url": f"image_{i}.png"}}
122122
)
123123
else:
124-
widget_dict.append(
125-
{"text": instance_prompt}
126-
)
124+
widget_dict.append({"text": instance_prompt})
127125
embeddings_filename = f"{repo_folder}_emb"
128126
instance_prompt_webui = re.sub(r"<s\d+>", "", re.sub(r"<s\d+>", embeddings_filename, instance_prompt, count=1))
129127
ti_keys = ", ".join(f'"{match}"' for match in re.findall(r"<s\d+>", instance_prompt))

0 commit comments

Comments
 (0)