You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is using the A1111 extension. I happened to use a lora that had two underscores in its filename and when the wildcard that contained it chose that option the entire dynamic prompts failed, leaving the prompt unprocessed (but not failing the A1111 generation) and not showing any useful info in the stack trace.
I traced the problem to this part of the code of this library: dynamicprompts\parser\parse.py line 454 when the execution of the parse_string function gave an exception.
My temporary fix is replacing with this, so at least it gives an indication in the console of where the problem is:
I think it could be useful to add a "strict mode" to the SD extension, so that if prompt parsing fails, it'd fail the generation and not use the verbatim command. I've had that happen too many times...
I think it could be useful to add a "strict mode" to the SD extension, so that if prompt parsing fails, it'd fail the generation and not use the verbatim command. I've had that happen too many times...
That hasn't bothered me, but isn't onerous to implement so no reason not to.
This is using the A1111 extension. I happened to use a lora that had two underscores in its filename and when the wildcard that contained it chose that option the entire dynamic prompts failed, leaving the prompt unprocessed (but not failing the A1111 generation) and not showing any useful info in the stack trace.
I traced the problem to this part of the code of this library: dynamicprompts\parser\parse.py line 454 when the execution of the parse_string function gave an exception.
My temporary fix is replacing with this, so at least it gives an indication in the console of where the problem is:
But it should probably be better to fix the parser to not fail when it finds double underscores.
The text was updated successfully, but these errors were encountered: