Comfy-Org / Comfy-Org/ComfyUI

Mapping for additional input dir through extra_models_path.yaml or args

Open
#7,334 1 comment 0 reactions 0 assignees View on GitHub
Feature
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 6h
Merged PRs (30d)
155

Description

### Feature Idea

`extra_model_paths.yaml` has been pretty useful in terms of mapping models & custom nodes from two different directories.

It works for models & custom nodes, but building it in more generic way to accept include all paths such as `input`.

Here is the overall idea:

in extra_model_paths.yaml

```
other_ui:
base_path: /home/ubuntu/
input: additional_inputs
custom_nodes: additional_custom_nodes
# checkpoints: models/checkpoints
# gligen: models/gligen
```

Let me know your thoughts & if you are open for a PR.

### Existing Solutions

None, tried ` --input-directory` but it changes default to input dir to specified dir. I would like to load inputs from two different dirs, default input path & an additional input path.

### Other

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.