toriato / stable-diffusion-webui-wd14-tagger

Labeling extension for Automatic1111's Web UI
1.34k stars 235 forks source link

Add UI element & logic for only tagging specified tags #70

Open crossCiv4 opened 1 year ago

crossCiv4 commented 1 year ago

Currently, while there is a way to (always) add tags (additional tags) and exclude tags, there is no way to make use of this extension to add only 1 or more specified tags if each tag meets the threshold. This use case is particularly helpful when trying to tag different tags at different confidence thresholds, or when trying to minimize the impact of tagging images with existing tags.

Tested in latest version. Sample test case:

picobyte commented 1 year ago

Looks good, but may conflict with my pull request. Also, you could add logic to javascript/tagger.js to enable the click adding to this input field. Currently broken, but should work again after my commit.

crossCiv4 commented 1 year ago

Looks good, but may conflict with my pull request. Also, you could add logic to javascript/tagger.js to enable the click adding to this input field. Currently broken, but should work again after my commit.

There hasn't been any activity from the owner in merging PRs since March, so I don't think any of our PRs will get merged; you'd be better off forking it at this point.

picobyte commented 1 year ago

I did and it's now the main branch for this extension. Inclusion of this change is no longer needed, I think.