Skip to content

Commit

Permalink
Validations: Shortname for unconditional guidance should be provided
Browse files Browse the repository at this point in the history
  • Loading branch information
bghira committed Sep 14, 2023
1 parent 7d17a67 commit fb87e6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers/legacy/validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def prepare_validation_prompt_list(args, embed_cache):
validation_negative_prompt_embeds = None
validation_negative_pooled_embeds = None
validation_prompts = [""]
validation_shortnames = []
validation_shortnames = ["unconditional"]
if not hasattr(embed_cache, "model_type"):
raise ValueError(
f"Embed cache engine did not contain a model_type. Cannot continue."
Expand Down

0 comments on commit fb87e6e

Please sign in to comment.