From fb87e6efd0a6e28fae1e1e597be4fe2a90da0c9f Mon Sep 17 00:00:00 2001 From: bghira Date: Thu, 14 Sep 2023 09:23:32 -0700 Subject: [PATCH] Validations: Shortname for unconditional guidance should be provided --- helpers/legacy/validation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/legacy/validation.py b/helpers/legacy/validation.py index 1a7abab7..79601b3a 100644 --- a/helpers/legacy/validation.py +++ b/helpers/legacy/validation.py @@ -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."