Simplify settings file location and configuration

This commit is contained in:
Will Miao
2025-10-04 18:42:53 +08:00
parent 8dde2d5e0d
commit 16b611cb7e
2 changed files with 3 additions and 29 deletions

View File

@@ -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:

View File

@@ -1,9 +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",
@@ -17,27 +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"
}
},
"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"
}