From befd95eb19eab6e3080111d296a07075b0ee8ab3 Mon Sep 17 00:00:00 2001 From: Lincoln Stein Date: Mon, 26 Jun 2023 13:52:25 -0400 Subject: [PATCH] rename root_dir to root_path attributes to emphasize return of a Path --- invokeai/backend/model_management/models/stable_diffusion.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/invokeai/backend/model_management/models/stable_diffusion.py b/invokeai/backend/model_management/models/stable_diffusion.py index f169326571..6bc58b328d 100644 --- a/invokeai/backend/model_management/models/stable_diffusion.py +++ b/invokeai/backend/model_management/models/stable_diffusion.py @@ -279,8 +279,8 @@ def _convert_ckpt_and_cache( raise Exception(f"Model variant {model_config.variant} not supported for {version}") - weights = app_config.root_dir / model_config.path - config_file = app_config.root_dir / model_config.config + weights = app_config.root_path / model_config.path + config_file = app_config.root_path / model_config.config output_path = Path(output_path) if version == BaseModelType.StableDiffusion1: