mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 09:14:35 +02:00
add demofusion
This commit is contained in:
@@ -60,7 +60,7 @@ class DiffusersTextualInversionManager(BaseTextualInversionManager):
|
||||
|
||||
|
||||
def encode_prompts(pipe, prompts: list, negative_prompts: list, clip_skip: typing.Optional[int] = None):
|
||||
if 'StableDiffusion' not in pipe.__class__.__name__:
|
||||
if 'StableDiffusion' not in pipe.__class__.__name__ and 'DemoFusion':
|
||||
shared.log.warning(f"Prompt parser not supported: {pipe.__class__.__name__}")
|
||||
return None, None, None, None
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user