The original ComfyUI-NAI-styler node has a hardcoded path that causes loading delays and browser refresh issues when updating through ComfyUI's custom node manager.
Created a forked version with corrected paths to avoid conflicts and maintain stability through updates.
- Fork and Clone
git clone https://github.com/rafstahelin/ComfyUI-Universal-Styler-raf.git
cd ComfyUI-Universal-Styler-raf
- Configure Git (if not already done)
git config --global user.name "your_username"
git config --global user.email "your_email"
- Set Up Upstream for Updates
git remote add upstream https://github.com/KoreTeknology/ComfyUI-NAI-styler.git
When new updates are available from the original repository:
git fetch upstream
git merge upstream/main --strategy-option ours --strategy recursive -X ours
This method preserves local path modifications while pulling new features and fixes.
- Modified
naistyler_nodes.py
to use correct folder path - Renamed repository to avoid conflicts with original
- Implemented Git strategy to maintain changes through updates
- Original loading delay issue resolved
- Updates from original repository can be safely pulled
- Node functionality remains unchanged
- Path modifications persist through ComfyUI updates
Created by @rafstahelin to fix ComfyUI-NAI-styler path issues