mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fixed compel.py as requested
This commit is contained in:
parent
5d5157fc65
commit
aca4770481
@ -100,7 +100,8 @@ class CompelInvocation(BaseInvocation):
|
|||||||
|
|
||||||
# TODO: support legacy blend?
|
# TODO: support legacy blend?
|
||||||
|
|
||||||
prompt: Union[FlattenedPrompt, Blend] = Compel.parse_prompt_string(prompt_str)
|
conjunction = Compel.parse_prompt_string(prompt_str)
|
||||||
|
prompt: Union[FlattenedPrompt, Blend] = conjunction.prompts[0]
|
||||||
|
|
||||||
if getattr(Globals, "log_tokenization", False):
|
if getattr(Globals, "log_tokenization", False):
|
||||||
log_tokenization_for_prompt_object(prompt, tokenizer)
|
log_tokenization_for_prompt_object(prompt, tokenizer)
|
||||||
|
@ -38,7 +38,7 @@ dependencies = [
|
|||||||
"albumentations",
|
"albumentations",
|
||||||
"click",
|
"click",
|
||||||
"clip_anytorch", # replacing "clip @ https://github.com/openai/CLIP/archive/eaa22acb90a5876642d0507623e859909230a52d.zip",
|
"clip_anytorch", # replacing "clip @ https://github.com/openai/CLIP/archive/eaa22acb90a5876642d0507623e859909230a52d.zip",
|
||||||
"compel~=1.1.5",
|
"compel~=1.1.5",
|
||||||
"datasets",
|
"datasets",
|
||||||
"diffusers[torch]~=0.16.1",
|
"diffusers[torch]~=0.16.1",
|
||||||
"dnspython==2.2.1",
|
"dnspython==2.2.1",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user