fixed import and added installation guide

This commit is contained in:
David Fischer
2023-08-07 22:06:49 +02:00
parent 87f6788dbc
commit fd2cd33c92
4 changed files with 4 additions and 1 deletions
+3 -1
View File
@@ -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.
+1
View File
@@ -0,0 +1 @@
from .styles_csv_loader import *
Binary file not shown.
Binary file not shown.