Skip to content

Commit 8062f07

Browse files
mnoukhovJimmy
authored and
Jimmy
committed
Remove <cat-toy> validation prompt from examples/textual_inversion/textual_inversion_sdxl.py (huggingface#6877)
Remove <cat-toy> validation prompt from textual_inversion_sdxl.py The `<cat-toy>` validation prompt is a default choice for the example task in the README. But no other part of `textual_inversion_sdxl.py` references the cat toy and `textual_inversion.py` has a default validation prompt of `None` as well. So bring `textual_inversion_sdxl.py` in line with `textual_inversion.py` and change default validation prompt to `None`
1 parent 7256428 commit 8062f07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/textual_inversion/textual_inversion_sdxl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ def parse_args():
372372
parser.add_argument(
373373
"--validation_prompt",
374374
type=str,
375-
default="A <cat-toy> backpack",
375+
default=None,
376376
help="A prompt that is used during validation to verify that the model is learning.",
377377
)
378378
parser.add_argument(

0 commit comments

Comments
 (0)