.csv to .json /.json to .csv: Converts Forge/A1111 styles for ComfyUI styler nodes, and vice-versa
Converts formatting of the styles for direct use in Forge or ComfyUi stylers (Mile high Styler)
- download the styleconvertor.py file to a folder with your styles.csv or .json files
- backup the original style files (just for a good feeling)
- run terminal from the folder, in Windows with
cmd
command - In terminal, write command
python styleconvertor.py
- Follow the instructions.
A. Forge (.csv): Copy styles.csv into the main folder (file must be named styles.csv)
B. ComfyUI (.json):
- Install ComfyUI_MileHighStyler via Manager
- Go to \ComfyUI\custom_nodes\ComfyUI_MileHighStyler\data and create a folder Your_stylename
- Copy Your_stylename.json into Your_stylename folder
- Update and restart ComfyUI
- Double-click the workspace and Search Nodes for Your_stylename node, which is now ready to use (also the Advanced version)