Skip to content

Commit

Permalink
Merge pull request #26 from replicate/revert-24-remove-TOK-as-default…
Browse files Browse the repository at this point in the history
…-value-of-trigger_word

Revert "remove TOK as default value of trigger_word"
  • Loading branch information
zeke authored Sep 6, 2024
2 parents 1482c42 + d020781 commit 3003a86
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion train.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ def train(
default=None,
),
trigger_word: str = Input(
description="The trigger word refers to the object, style or concept you are training on. Pick a string that isn’t a real word, but is ideally related to what’s being trained, like CYBRPNK. The trigger word you specify here will be associated with all images during training. Then when you use your LoRA, you can include the trigger word in prompts to help activate the LoRA.",
description="The trigger word refers to the object, style or concept you are training on. Pick a string that isn’t a real word, like TOK or something related to what’s being trained, like CYBRPNK. The trigger word you specify here will be associated with all images during training. Then when you use your LoRA, you can include the trigger word in prompts to help activate the LoRA.",
default="TOK",
),
autocaption: bool = Input(
description="Automatically caption images using Llava v1.5 13B", default=True
Expand Down

0 comments on commit 3003a86

Please sign in to comment.