h43lb1t0 / SD-WebUI-BatchCheckpointPrompt

Test a base prompt with different checkpoints and for the checkpoints specific prompt templates
MIT License
54 stars 3 forks source link

Error reading checkpoint file names with square brackets [] #38

Closed cdobrich closed 1 year ago

cdobrich commented 1 year ago

I noticed that if I have a checkpoint that has square brackets ‘[]’ in it, the batch processing script will throw an error. Is it possible to fix this? For example:

This name throws an error message,

hyper_beasts_1.2k_xl-lr1e-6-10ks-[hyperbeasts]-fp16-v3.ckpt

but this other name works:

hyper_beasts_1.2k_xl-lr1e-6-10ks-fp16-v3.ckpt

h43lb1t0 commented 1 year ago

i think i know why this happens. I'll fix it when i have time