updated models path

This commit is contained in:
logtd
2024-02-23 16:06:27 -07:00
parent aff54eebc6
commit 210e36fbb0
5 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ Clone or download this repo into your `ComfyUI/custom_nodes/` directory.
Then run `pip install -r requirments.txt` within the cloned repo (although if you have already set up ComfyUI you should have all these requirements already).
### How to Configure Models
Download each of these checkpoints and place them into the Installation Directory within `ComfyUI/custom_nodes/ComfyUI-InstanceDiffusion/` directory created.
Download each of these checkpoints and place them into the Installation Directory within `ComfyUI/models/instance_models/` directory.
| Model Name | URL | Installation Directory |
|------------|-----|------------------------|
+2 -3
View File
@@ -7,9 +7,8 @@ from .. import constants
def get_model_dir(model_dir):
root_path = folder_paths.folder_names_and_paths['custom_nodes'][0][0]
path = os.path.join(root_path, 'ComfyUI-InstanceDiffusion', constants.INSTANCE_MODELS_DIR,
model_dir)
root_path = folder_paths.models_dir
path = os.path.join(root_path, constants.INSTANCE_MODELS_DIR, model_dir)
return path