Stand alone version is here: This may be better to avoid some known bugs.
Due to gradio update on webUI, the latest version don't support old webUI.
Please see Releases page and check the compatibility with webUI you are using.
This is an extension to edit captions in training dataset for Stable Diffusion web UI by AUTOMATIC1111.

It works well with text captions in comma-separated style (such as the tags generated by DeepBooru interrogator).
Caption in the filenames of images can be loaded, but edited captions can only be saved in the form of text files.
Copy https://github.com/toshiaki1729/stable-diffusion-webui-dataset-tag-editor.git into "Install from URL" tab.
Also, if you see this extension listed, you can install from "Available" tab with a single click.
Please note that if you update this extension from "Extensions" tab, you will need to restart web UI to reload completely.
To install, clone the repository into the extensions directory and restart the web UI.
On the web UI directory, run the following command to install:
git clone https://github.com/toshiaki1729/stable-diffusion-webui-dataset-tag-editor.git extensions/dataset-tag-editor
Note. "tag" means each blocks of caption separated by commas.
userscripts/taggers (they have to be wrapped by a class derived from scripts.tagger.Tagger)
Basic workflow is as follows:
Please note that all batch editing will be applyed only to displayed images (=filtered images).
I want to add some new tags

I want to replace the tags which are common to displayed images

I want to remove some tags
The same as replacing. Just replace the tags with "blank".
Also you can use "Remove" tab in "Batch Edit Captions".
I want to add/replace/remove tags more flexibly

Set folder to store temporaly image in the "Settings" tab. Input path in "Directory to save temporary files" and check "Force using temporary file…"
Check "Force image gallery to use temporary files" and input number in "Maximum resolution of ..." in the "Settings" tab.
It may not work with dataset with millions of images.
If it doesn't work, please consider using stand alone version.

Moved to here
Python
92.4%
JavaScript
7.3%
Stand alone version is here: This may be better to avoid some known bugs.
Due to gradio update on webUI, the latest version don't support old webUI.
Please see Releases page and check the compatibility with webUI you are using.
This is an extension to edit captions in training dataset for Stable Diffusion web UI by AUTOMATIC1111.

It works well with text captions in comma-separated style (such as the tags generated by DeepBooru interrogator).
Caption in the filenames of images can be loaded, but edited captions can only be saved in the form of text files.
Copy https://github.com/toshiaki1729/stable-diffusion-webui-dataset-tag-editor.git into "Install from URL" tab.
Also, if you see this extension listed, you can install from "Available" tab with a single click.
Please note that if you update this extension from "Extensions" tab, you will need to restart web UI to reload completely.
To install, clone the repository into the extensions directory and restart the web UI.
On the web UI directory, run the following command to install:
git clone https://github.com/toshiaki1729/stable-diffusion-webui-dataset-tag-editor.git extensions/dataset-tag-editor
Note. "tag" means each blocks of caption separated by commas.
userscripts/taggers (they have to be wrapped by a class derived from scripts.tagger.Tagger)
Basic workflow is as follows:
Please note that all batch editing will be applyed only to displayed images (=filtered images).
I want to add some new tags

I want to replace the tags which are common to displayed images

I want to remove some tags
The same as replacing. Just replace the tags with "blank".
Also you can use "Remove" tab in "Batch Edit Captions".
I want to add/replace/remove tags more flexibly

Set folder to store temporaly image in the "Settings" tab. Input path in "Directory to save temporary files" and check "Force using temporary file…"
Check "Force image gallery to use temporary files" and input number in "Maximum resolution of ..." in the "Settings" tab.
It may not work with dataset with millions of images.
If it doesn't work, please consider using stand alone version.

Moved to here
Python
92.4%
JavaScript
7.3%