diff --git a/README.md b/README.md index 32cfc34..d440836 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,6 @@ ComfyUI-DRMN, Data Research And Manipulators Nodes for Model Trainers, Artists, Designers and Animators. Captions, Visualizers, Text Manipulators - ![image](https://github.com/daxcay/ComfyUI-DRMN/assets/164315771/b7d4a51d-6f23-43cc-bc40-c8ae469199e2) ## 1. DRMN_CaptionVisualizer @@ -35,6 +34,7 @@ FrequencyGraphTop: Integer will select top N data to make freqency graph ### Output 3 Images of **Word Cloud, Network graph, and Frequency graph** respectively. +Images are also saved in ```visualize``` folder where the caption files are stored. ![image](https://github.com/daxcay/ComfyUI-DRMN/assets/164315771/3371d531-ad4c-4e72-ae00-43d71e4a87a6) @@ -144,10 +144,70 @@ Tags directory will have something like this. ## 3. DRMN_SearchAndReplace - +Helps anyone manipulate caption files to search for a given text in ```SearchFor``` and replace it with the given ```ReplaceWith``` text. ![image](https://github.com/daxcay/ComfyUI-DRMN/assets/164315771/8bec970d-4de9-4c99-a491-b490cdd64072) +### Inputs +``` +TextFilePathList: text file path list +``` +You can use this to get the file path list -### Recommended plugin to use: **ComfyUI-JDCN** (https://github.com/daxcay/ComfyUI-JDCN) +![image](https://github.com/daxcay/ComfyUI-DRMN/assets/164315771/db148bff-46c0-4fe2-b0c5-0cc91c2d71d8) + +``` +SearchFor: search for a string you give. it can be any thing (no regex simple plain string 😅) +``` +``` +ReplaceWith: replaces ```SearchFor```. it can be any thing (no regex simple plain string 😅) +``` + +### Output + +Text file in directory. +Backup of all file is saved in ```sr_backup``` folder where the caption files are stored. + +__________________________________________________________________________________________________________________________________________ + +# Installation + +1) Manual Method +- Go to your Comfyui > Custom Nodes folder +- Run CMD from folder path box or right click on empty area and click open in terminal. +- Copy and Paste this command `git clone https://github.com/daxcay/ComfyUI-DRMN.git` +- Then go inside ComfyUI-DRMN with cmd or open new. +- and type `pip install -r requirements.txt` to install the requirements. + +2) Automatic Method with [Comfy Manager](https://github.com/ltdrdata/ComfyUI-Manager) +- Inside ComfyUI > Click Manager Button on Side. +- Click `Install Custom Node` and Search for DRMN and Install this node: + +![image](https://github.com/daxcay/ComfyUI-DRMN/assets/164315771/4fdcf3cc-186d-4e36-9ffb-d34a1b48de2c) + +- Restart ComfyUI and it should be good to go + +3) Recommended Plugin + + **ComfyUI-JDCN** (https://github.com/daxcay/ComfyUI-JDCN) + +__________________________________________________________________________________________________________________________________________ + +# CREDITS + +◉ Daxton Caylor - ComfyUI Node Developer +- Discord - daxtoncaylor +- Email - daxtoncaylor@gmail.com +- You can contact me on my discord server: [https://discord.gg/GZVGqSHT](https://discord.gg/aGQmh62T) +- Commission Status: 🟢 **Open** 🟢 + +◉ https://github.com/rafstahelin +- Node Ideas + +# Support for JDCN ❤️ + +If you like to suppport me you can help me by + +Donation: +https://paypal.me/daxtoncaylor