lint changes

This commit is contained in:
Vladimir Mandic
2024-05-07 09:56:32 -04:00
parent 9ca5e3877d
commit b137f67edc
18 changed files with 31 additions and 21 deletions
+2 -2
View File
@@ -98,9 +98,9 @@ def get_prompt_schedule(prompt, steps):
def encode_prompts(pipe, p, prompts: list, negative_prompts: list, steps: int, clip_skip: typing.Optional[int] = None):
if 'StableDiffusion' not in pipe.__class__.__name__ and 'DemoFusion':
if 'StableDiffusion' not in pipe.__class__.__name__ and 'DemoFusion' not in pipe.__class__.__name__:
shared.log.warning(f"Prompt parser not supported: {pipe.__class__.__name__}")
return None, None, None, None
return
else:
t0 = time.time()
positive_schedule, scheduled = get_prompt_schedule(prompts[0], steps)