mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix: Update missing name types to new names
This commit is contained in:
parent
76dd749b1e
commit
c8dfa49d86
@ -107,7 +107,7 @@ class StableDiffusion1Model(DiffusersModel):
|
|||||||
) -> str:
|
) -> str:
|
||||||
assert model_path == config.path
|
assert model_path == config.path
|
||||||
|
|
||||||
if isinstance(config, cls.CheckpointModelConfig):
|
if isinstance(config, cls.StableDiffusion1CheckpointModelConfig):
|
||||||
return _convert_ckpt_and_cache(
|
return _convert_ckpt_and_cache(
|
||||||
version=BaseModelType.StableDiffusion1,
|
version=BaseModelType.StableDiffusion1,
|
||||||
model_config=config,
|
model_config=config,
|
||||||
@ -220,7 +220,7 @@ class StableDiffusion2Model(DiffusersModel):
|
|||||||
) -> str:
|
) -> str:
|
||||||
assert model_path == config.path
|
assert model_path == config.path
|
||||||
|
|
||||||
if isinstance(config, cls.CheckpointModelConfig):
|
if isinstance(config, cls.StableDiffusion2CheckpointModelConfig):
|
||||||
return _convert_ckpt_and_cache(
|
return _convert_ckpt_and_cache(
|
||||||
version=BaseModelType.StableDiffusion2,
|
version=BaseModelType.StableDiffusion2,
|
||||||
model_config=config,
|
model_config=config,
|
||||||
|
Loading…
Reference in New Issue
Block a user