fixed import and added installation guide
This commit is contained in:
@@ -3,13 +3,15 @@ Extension for [ComfyUI](https://github.com/comfyanonymous/ComfyUI) that loads st
|
||||
## Description
|
||||
This extension allows users to load styles from a CSV file, primarily for migration purposes from the [automatic1111 Stable Diffusion web UI](https://github.com/AUTOMATIC1111/stable-diffusion-webui).
|
||||
|
||||
## Installation
|
||||
Clone this repository into the `custom_nodes` folder of ComfyUI. Restart ComfyUI and the extension should be loaded.
|
||||
|
||||
**Important**: The `styles.csv` file must be located in the root of `ComfyUI` where `main.py` resides. You can also symlink it if necessary.
|
||||
|
||||
Example of symlinking:
|
||||
```bash
|
||||
ln -s /path/to/your/styles.csv /path/to/ComfyUI/styles.csv
|
||||
```
|
||||
|
||||
## Nodes Description
|
||||
Each style is represented as a dictionary with the keys being `style_name` and the values being a list containing `positive_prompt` and `negative_prompt`. The prompts are outputs of this Node.
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
from .styles_csv_loader import *
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user