ssube / onnx-web

web UI for GPU-accelerated ONNX pipelines like Stable Diffusion, even on Windows and AMD
https://discord.gg/7CdQmutGuw
MIT License
206 stars 27 forks source link

cannot use multiple wildcards in the same token #440

Closed bzlibby closed 11 months ago

bzlibby commented 11 months ago

Description: When using wildcards in prompts, each token can only utilize one wildcard. If the token has multiple wildcards (e.g. __haircolor__ __hairstyle__), the following error occurs: WARNING: MainProcess waitress-3 onnx_web.diffusers.utils: unknown wildcard: __haircolor__ __hairstyle__. The image will still continue to generate as normal, there will just be nothing where the wildcards should be. I am pretty sure this is a direct result of the changes made to support dynamic wildcards; however, this occurs with all wildcards, including those from .txt files.

Example: