diff --git a/README.md b/README.md index a2ccfe3..0373d8b 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/__init__.py b/__init__.py index e69de29..24a5721 100644 --- a/__init__.py +++ b/__init__.py @@ -0,0 +1 @@ +from .styles_csv_loader import * \ No newline at end of file diff --git a/__pycache__/__init__.cpython-39.pyc b/__pycache__/__init__.cpython-39.pyc new file mode 100644 index 0000000..6fff9a8 Binary files /dev/null and b/__pycache__/__init__.cpython-39.pyc differ diff --git a/__pycache__/styles_csv_loader.cpython-39.pyc b/__pycache__/styles_csv_loader.cpython-39.pyc new file mode 100644 index 0000000..b2b92f8 Binary files /dev/null and b/__pycache__/styles_csv_loader.cpython-39.pyc differ