This commit is contained in:
Lincoln Stein 2023-09-05 09:46:33 -04:00 committed by Kent Keirsey
parent 4e83644433
commit a20e17330b

View File

@ -125,9 +125,9 @@ class StableDiffusionXLModel(DiffusersModel):
kwargs = dict()
app_config = InvokeAIAppConfig.get_config()
vae_path = app_config.models_path / 'sdxl/vae/sdxl-vae-fp16-fix'
vae_path = app_config.models_path / "sdxl/vae/sdxl-vae-fp16-fix"
if vae_path.exists():
kwargs['vae_path'] = vae_path
kwargs["vae_path"] = vae_path
return _convert_ckpt_and_cache(
version=base_model,