AUTOMATIC1111 / stable-diffusion-webui-wildcards

Wildcards
428 stars 104 forks source link

Loras in wildcard prompts #29

Open cobaltbeau opened 1 year ago

cobaltbeau commented 1 year ago

I don't think it's correctly handling loras in wildcard prompts in a batch

I have a wildcard file of the following lines:

, TLOK_Asami_Sato, \green eyes\, black hair, main_outfit , ((yellow hair)), yang xiao long, (prosthetic arm), smile, ahoge purple eyes, brown jacket, waist coat , nora_valkyrie, looking at viewer, smile, short hair, [[blue eyes]], gloves, jacket, pink skirt, pink belt, short sleeves, puffy sleeves, fingerless gloves, orange hair They are character loras for Asami Sato from Legend of Korra, and Yang Xiao Long + Nora Valkyrie from RWBY, for visual reference. When I run this prompt using a batch size of 1 and batch count of 6, I get what I'd expect: ![image](https://github.com/AUTOMATIC1111/stable-diffusion-webui-wildcards/assets/5383283/a4fbeb70-e312-4dfd-87fe-3167207ea517) But when I generate with a batch size of 6 and batch count of 1, I think it's including the lora used for the first image in all the images generated. Here's the one that starts with Nora: ![grid-0007](https://github.com/AUTOMATIC1111/stable-diffusion-webui-wildcards/assets/5383283/c4e5413b-1ab1-46c3-a94e-971e3c24e963) Here's the one that starts with Yang: ![grid-0008](https://github.com/AUTOMATIC1111/stable-diffusion-webui-wildcards/assets/5383283/926975a3-0df0-4c39-92dd-a1d9b1649a0f) Here's the one that starts with Asami: ![grid-0009](https://github.com/AUTOMATIC1111/stable-diffusion-webui-wildcards/assets/5383283/43b26709-052d-4ba0-a52e-f41c7010e048)
WesleyNery commented 10 months ago

Yeah I see this problem as well. It happens especially when using highres.fix for me. It picks one of the options based on the seed however it seems that nothing is passed on to the highresfix prompt so the image changes or blends