switch all none diffusers stuff to legacy, and load through compel prompts

This commit is contained in:
Jordan
2023-02-23 16:48:33 -07:00
parent 8e1fd92e7f
commit 6a1129ab64
3 changed files with 50 additions and 48 deletions

View File

@@ -59,6 +59,8 @@ def get_uc_and_c_and_ec(prompt_string, model, log_tokens=False, skip_normalize_l
positive_prompt = legacy_blend
else:
positive_prompt = Compel.parse_prompt_string(positive_prompt_string)
if model.lora_manager:
model.lora_manager.load_lora_compel(positive_prompt.lora_weights)
negative_prompt: FlattenedPrompt|Blend = Compel.parse_prompt_string(negative_prompt_string)
if log_tokens or getattr(Globals, "log_tokenization", False):