yfszzx / stable-diffusion-webui-images-browser

an images browse for stable-diffusion-webui
489 stars 232 forks source link

[Feature Request]: Display text file created by Blip/Deepdanbooru processing to enable easy tag edits alongside image #15

Open DickJokez69 opened 2 years ago

DickJokez69 commented 2 years ago

Problem: There's not really a streamlined way of editing the tag .txt files associated with the images preprocessed with Deepdanbooru. You could just open them one by one in notepad, but it's something that's pretty tedious to do when you have more than a few images. 200 images is pretty ridiculous.

Proposal: What I propose is when you click an image in the browser, and it has an associated tag file, open the file at the same time inside the UI in a text box to allow for editing and possibly a little save button to save the changes to the file. That way you can quickly edit the tags for an image, and move onto the next without opening and closing files. Most likely it would be in the "custom folder" tab of the browser, but it also could work in it's own tab as well. It might also be a neat idea to have the option to create that tag file manually if one doesn't exist already. Just a little "create tags" button before the "save tags" could work. So you could create a tag file, edit it, and save it all within the UI.

I've attached an image of how it might look. tag editor

I think there's already a feature within the browser to load in the prompt info for an image if it has it saved as a text document, I think this would be a pretty similar feature, just with the ability to edit the text file it brings up.