Giter Site home page Giter Site logo

Comments (8)

DominikDoom avatar DominikDoom commented on June 24, 2024 1

Yes, exactly. It already works similar to the translation feature, so I think it'll be possible without much reworking. I just need to be careful to not break existing translations.

from a1111-sd-webui-tagcomplete.

DominikDoom avatar DominikDoom commented on June 24, 2024 1

Small preview:
image

At least for danbooru tags the work is almost done, just need to do a bit of cleanup and update how translations are handled. I tried to find similar public tag data for e621 tags, but wasn't able to get anything so far. So I'll have to get them using the API, which will probably take a bit longer.

from a1111-sd-webui-tagcomplete.

DominikDoom avatar DominikDoom commented on June 24, 2024

The coding work in this plugin would be very little, the bigger problem is getting the data.
At least the program I used to build the tag file (Grabber) sadly doesn't include the tag count in the offline tag database you can build. So I would have to replicate its functionality using the official API.
It's definitely possible and I agree that it would be useful, but not quick to do for now.

Just for choosing which tag is more popular, it's a lot simpler though: Tags in the default tag files are ordered by count, and since the script doesn't sort them at any point, tags higher in the list will always be more popular than those below. You just can't compare by how much.

from a1111-sd-webui-tagcomplete.

DominikDoom avatar DominikDoom commented on June 24, 2024

Small update:
I have found the official danbooru tag dump on its public cloud console in the meantime, which contains post count and a few other interesting infos.
I'll have a look at it and see if I can process it to work with the script.

from a1111-sd-webui-tagcomplete.

byzod avatar byzod commented on June 24, 2024

There's some tag builder have similar feature on github, for example this one, if it helps

from a1111-sd-webui-tagcomplete.

DominikDoom avatar DominikDoom commented on June 24, 2024

I was already able to convert the data to the form the script needs, so now I only need to implement it. Since the public data also included the tag aliases, I am currently trying to add those too, which would be very useful as well. Just need to make it work alongside translations now.

from a1111-sd-webui-tagcomplete.

byzod avatar byzod commented on June 24, 2024

Since the public data also included the tag aliases, I am currently trying to add those too, which would be very useful as well. Just need to make it work alongside translations now.

1

You mean this? It is useful, can't wait to see that implemented :D

from a1111-sd-webui-tagcomplete.

thojmr avatar thojmr commented on June 24, 2024

This has been working great, thanks for the work

from a1111-sd-webui-tagcomplete.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.