adieyal / sd-dynamic-prompts

A custom script for AUTOMATIC1111/stable-diffusion-webui to implement a tiny template language for random prompt generation
MIT License
1.96k stars 253 forks source link

Completely fails when any part of wildcard has "__" #755

Closed robitronathon closed 2 months ago

robitronathon commented 2 months ago

while trying to test some LoRAs, one of them had as part of the name, ie: <LoRA:artiststyle:1> which broke the extension. is there a setting or way to just have the extension ignore a line featuring an odd number of __s instead of failing completely?

akx commented 2 months ago

You can change the wildcard wrap syntax: https://github.com/adieyal/sd-dynamic-prompts?tab=readme-ov-file#changing-syntax