mirror of
https://github.com/DominikDoom/a1111-sd-webui-tagcomplete.git
synced 2026-11-05 00:17:25 +00:00
[GH-ISSUE #209] The plugin doesn't like Wildcard-Yaml #151
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
low priority
low priority
pull-request
question
waiting for feedback
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
DominikDoom/a1111-sd-webui-tagcomplete#151
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nosdregamon on GitHub (Jul 28, 2023).
Original GitHub issue: https://github.com/DominikDoom/a1111-sd-webui-tagcomplete/issues/209
Originally assigned to: @DominikDoom on GitHub.
a1111-sd-webui-tagcomplete allows for completion of Wildcards used by sd-dynamic-prompts.
The latter allows usage of YAML-Files however, actually using these file, it produces the following message(s) at startup...
... and I can't use autocomplete on runtime. Which is a shame, because there's some cool "libraries" at civitai.
My guess is implementing yaml-files in sd-webui-tagcomplete would be quite complicated, but perhaps for a start it could ignore them?
@nosdregamon commented on GitHub (Jul 28, 2023):
example.zip
@DominikDoom commented on GitHub (Jul 29, 2023):
Thanks for the example. This is actually a side effect of the already implemented yaml wildcard parser for https://github.com/Klokinator/Umi-AI, which expects a slightly different format. I didn't implement it myself, but included their pull request.
I was not aware that this causes issues with dynamic-prompts, I'll take a look and see if I can change it up so it works together with them or at least not show the error.
Normal functionality should however not be affected by this since they already are ignored, the error is not critical. While the yaml wildcards themselves obviously don't show up, everything else worked as normal when I tried it out just now.
@nosdregamon commented on GitHub (Jul 29, 2023):
Thank you 👍
The problem that it doesn't work at all, might then be a side-effect of a different extension in the mix. I'll try to narrow it down (or switch to UMI).
@DominikDoom commented on GitHub (Jul 29, 2023):
I was able to add proper support for it!
It essentially treats each level of the yaml as if it were a normal wilcard file in a subfolder, so even the path traversal and peek into the subcategories will work like the normal wildcards, allowing you to step through and stop where you want.
Example with the building wildcards you linked:
https://github.com/DominikDoom/a1111-sd-webui-tagcomplete/assets/34448969/1a1222cb-ff68-4adc-8e5e-3fb380c4df69
If the extension still doesn't work at all for you, I'd suggest opening a new issue since it's likely unrelated to this.
In that case also check if there are any errors in the browser console (CTRL-SHIFT-I).
@nosdregamon commented on GitHub (Jul 29, 2023):
It works without additional errors. Thank you very much.