mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-02-03 10:04:56 -05:00
Restore log_tokenization check
This commit is contained in:
@@ -103,7 +103,7 @@ class CompelInvocation(BaseInvocation):
|
||||
positive_prompt: Union[FlattenedPrompt, Blend] = Compel.parse_prompt_string(self.positive_prompt)
|
||||
negative_prompt: Union[FlattenedPrompt, Blend] = Compel.parse_prompt_string(self.negative_prompt)
|
||||
|
||||
if True: #getattr(Globals, "log_tokenization", False):
|
||||
if getattr(Globals, "log_tokenization", False):
|
||||
log_tokenization(positive_prompt, negative_prompt, tokenizer=tokenizer)
|
||||
|
||||
# TODO: add lora(with model and clip field types)
|
||||
|
||||
Reference in New Issue
Block a user