- Changed the configuration format to use a single 'models' list with entries containing 'url' and 'type'. - Updated validation logic to ensure 'models' entries are correctly structured. - Modified download logic to check for existing directories before downloading. - Revised README to reflect new configuration format and usage instructions. Signed-off-by: Daniel Henry <iamdanhenry@gmail.com>
14 lines
530 B
YAML
14 lines
530 B
YAML
# Copy to config.yaml and fill in tokens and paths. Do not commit config.yaml.
|
|
|
|
huggingface_token: "" # from https://huggingface.co/settings/tokens
|
|
civitai_token: "" # from https://civitai.com/user/account
|
|
comfyui_base_dir: "/path/to/ComfyUI"
|
|
|
|
# Single list of models. Each entry: url and type (type = ComfyUI subdir under models/).
|
|
# Civitai: use API URL or add ?token=... is optional (token from config is used).
|
|
# Hugging Face: use resolve/main/... URLs.
|
|
# models:
|
|
# - url: "https://..."
|
|
# type: loras
|
|
models: []
|