Skip to content

Commit

Permalink
rename root_dir to root_path attributes to emphasize return of a Path
Browse files Browse the repository at this point in the history
  • Loading branch information
Lincoln Stein committed Jun 26, 2023
1 parent d905d0e commit befd95e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions invokeai/backend/model_management/models/stable_diffusion.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit befd95e

Please sign in to comment.