mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-21 21:22:11 -03:00
Simplify settings file location and configuration
This commit is contained in:
@@ -225,7 +225,7 @@ You can now run LoRA Manager independently from ComfyUI:
|
||||
```
|
||||
|
||||
2. **For non-ComfyUI users**:
|
||||
- Copy the provided `settings.json.example` file to the LoRA Manager settings folder (`%APPDATA%/ComfyUI-LoRA-Manager/`, `~/Library/Application Support/ComfyUI-LoRA-Manager/`, or `${XDG_CONFIG_HOME:-~/.config}/ComfyUI-LoRA-Manager/`) and rename it to `settings.json`
|
||||
- Copy the provided `settings.json.example` file to create a new file named `settings.json`
|
||||
- Edit `settings.json` to include your correct model folder paths and CivitAI API key
|
||||
- Install required dependencies: `pip install -r requirements.txt`
|
||||
- Run standalone mode:
|
||||
|
||||
@@ -1,28 +1,5 @@
|
||||
{
|
||||
"civitai_api_key": "your_civitai_api_key_here",
|
||||
"active_library": "default",
|
||||
"libraries": {
|
||||
"default": {
|
||||
"display_name": "Default Library",
|
||||
"folder_paths": {
|
||||
"loras": [
|
||||
"C:/path/to/your/loras_folder",
|
||||
"C:/path/to/another/loras_folder"
|
||||
],
|
||||
"checkpoints": [
|
||||
"C:/path/to/your/checkpoints_folder",
|
||||
"C:/path/to/another/checkpoints_folder"
|
||||
],
|
||||
"embeddings": [
|
||||
"C:/path/to/your/embeddings_folder",
|
||||
"C:/path/to/another/embeddings_folder"
|
||||
]
|
||||
},
|
||||
"default_lora_root": "C:/path/to/your/loras_folder",
|
||||
"default_checkpoint_root": "C:/path/to/your/checkpoints_folder",
|
||||
"default_embedding_root": "C:/path/to/your/embeddings_folder"
|
||||
}
|
||||
},
|
||||
"folder_paths": {
|
||||
"loras": [
|
||||
"C:/path/to/your/loras_folder",
|
||||
@@ -36,8 +13,5 @@
|
||||
"C:/path/to/your/embeddings_folder",
|
||||
"C:/path/to/another/embeddings_folder"
|
||||
]
|
||||
},
|
||||
"default_lora_root": "C:/path/to/your/loras_folder",
|
||||
"default_checkpoint_root": "C:/path/to/your/checkpoints_folder",
|
||||
"default_embedding_root": "C:/path/to/your/embeddings_folder"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user