mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
blackify
This commit is contained in:
parent
4e83644433
commit
a20e17330b
@ -125,9 +125,9 @@ class StableDiffusionXLModel(DiffusersModel):
|
|||||||
|
|
||||||
kwargs = dict()
|
kwargs = dict()
|
||||||
app_config = InvokeAIAppConfig.get_config()
|
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():
|
if vae_path.exists():
|
||||||
kwargs['vae_path'] = vae_path
|
kwargs["vae_path"] = vae_path
|
||||||
|
|
||||||
return _convert_ckpt_and_cache(
|
return _convert_ckpt_and_cache(
|
||||||
version=base_model,
|
version=base_model,
|
||||||
|
Loading…
Reference in New Issue
Block a user