rename root_dir to root_path attributes to emphasize return of a Path

This commit is contained in:
Lincoln Stein 2023-06-26 13:52:25 -04:00
parent d905d0e42a
commit befd95eb19

View File

@ -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: