updated models path
This commit is contained in:
@@ -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 |
|
||||
|------------|-----|------------------------|
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user