[GH-ISSUE #36] Token of embedding that has some special characters can't be recognized #27

Closed
opened 2026-10-30 21:17:16 +00:00 by bsakaguchi · 3 comments
Owner

Originally created by @byzod on GitHub (Oct 24, 2022).
Original GitHub issue: https://github.com/DominikDoom/a1111-sd-webui-tagcomplete/issues/36

I got a embedding in png format, its token is something like emb_1.5

This embedding can't be recognized and not shown in the tag drop down list when type < (yes, it can be used correctly and recognized by the Train tab), I don't know how to change the token, changing the filename is not working, only emb_1.5 can active that embedding

I'm not sure legal characters for token of embedding, maybe other characters also triggers this bug but I don't know

p.s. Can you tell me about the <embedding name> thing? I think I saw this angle brackets syntax somewhere before but I can't find it now in wiki of a1111's webui here or here, did this syntax removed or something? Or is this a tagcomplete feature?

Originally created by @byzod on GitHub (Oct 24, 2022). Original GitHub issue: https://github.com/DominikDoom/a1111-sd-webui-tagcomplete/issues/36 I got a embedding in png format, its token is something like `emb_1.5` This embedding can't be recognized and not shown in the tag drop down list when type `<` (yes, it can be used correctly and recognized by the `Train` tab), I don't know how to change the token, changing the filename is not working, only `emb_1.5` can active that embedding I'm not sure legal characters for token of embedding, maybe other characters also triggers this bug but I don't know p.s. Can you tell me about the `<embedding name>` thing? I think I saw this angle brackets syntax somewhere before but I can't find it now in wiki of a1111's webui [here ](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Features) or [here](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Textual-Inversion), did this syntax removed or something? Or is this a tagcomplete feature?
Author
Owner

@DominikDoom commented on GitHub (Oct 24, 2022):

I just tested with a png embedding file of that name, it works for me.
Are you using the latest version? I added support for png embeddings only earlier today because I originally forgot about them when that feature was added.

<!-- gh-comment-id:1289131196 --> @DominikDoom commented on GitHub (Oct 24, 2022): I just tested with a png embedding file of that name, it works for me. Are you using the latest version? I added support for png embeddings only earlier today because I originally forgot about them when that feature was added.
Author
Owner

@byzod commented on GitHub (Oct 24, 2022):

I just tested with a png embedding file of that name, it works for me. Are you using the latest version? I added support for png embeddings only earlier today because I originally forgot about them when that feature was added.

ok sorry, it's fixed

I downloaded the first commit after my png issue closed but it didn't working

Now I updated to github.com/DominikDoom/a1111-sd-webui-tagcomplete@cb08b8467f and it's working even png related code is not changed at all

Maybe it's related to that I didn't ctrl+F5 refesh the page since other png embeddings is loaded so I thought the code is working...anyway, another weird bug related to js cache :/

<!-- gh-comment-id:1289160716 --> @byzod commented on GitHub (Oct 24, 2022): > I just tested with a png embedding file of that name, it works for me. Are you using the latest version? I added support for png embeddings only earlier today because I originally forgot about them when that feature was added. ok sorry, it's fixed I downloaded the [first commit ](https://github.com/DominikDoom/a1111-sd-webui-tagcomplete/commit/e8cf50cdaa8e4251a5808daa3a26eca3eb1f386c)after my png issue closed but it didn't working Now I updated to https://github.com/DominikDoom/a1111-sd-webui-tagcomplete/commit/cb08b8467fc6afff46917b3fdd71827813d5af4a and it's working even png related code is not changed at all Maybe it's related to that I didn't `ctrl+F5` refesh the page since other png embeddings is loaded so I thought the code is working...anyway, another weird bug related to js cache :/
Author
Owner

@DominikDoom commented on GitHub (Oct 24, 2022):

Maybe it's related to that I didn't ctrl+F5 refesh the page since other png embeddings is loaded

If you added the problematic embedding after the working one, that would make sense. The script reads from the temporary files, and the browser caches those from time to time too, so it could be that it just didn't use the version of that temp file with the new embedding listed.

<!-- gh-comment-id:1289165699 --> @DominikDoom commented on GitHub (Oct 24, 2022): > Maybe it's related to that I didn't ctrl+F5 refesh the page since other png embeddings is loaded If you added the problematic embedding after the working one, that would make sense. The script reads from the temporary files, and the browser caches those from time to time too, so it could be that it just didn't use the version of that temp file with the new embedding listed.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
DominikDoom/a1111-sd-webui-tagcomplete#27
No description provided.