wkpark / uddetailer

μ DDetailer, DDetailer fork to support DDetailer as an extension
GNU Affero General Public License v3.0
57 stars 2 forks source link

BUG: all_hr_prompts error in AUTOMATIC1111 1.9.0 RC #80

Closed jgrubs1 closed 2 months ago

jgrubs1 commented 5 months ago

In AUTOMATIC1111 1.9.0 RC, the extension throws the following error on each detection. Apparently, the way "all_hr_prompts" is handled had changed in the 1.9.0.

`* Error creating infotext for key "Hires prompt" Traceback (most recent call last): File "S:\stable-diffusion\sd-webui\webui\modules\processing.py", line 809, in create_infotext generation_params[key] = value(locals()) File "S:\stable-diffusion\sd-webui\webui\modules\processing.py", line 1259, in get_hr_prompt hr_prompt = p.all_hr_prompts[index] AttributeError: 'StableDiffusionProcessingImg2Img' object has no attribute 'all_hr_prompts'


* Error creating infotext for key "Hires negative prompt" Traceback (most recent call last): File "S:\stable-diffusion\sd-webui\webui\modules\processing.py", line 809, in create_infotext generation_params[key] = value(locals()) File "S:\stable-diffusion\sd-webui\webui\modules\processing.py", line 1263, in get_hr_negative_prompt hr_negative_prompt = p.all_hr_negative_prompts[index] AttributeError: 'StableDiffusionProcessingImg2Img' object has no attribute 'all_hr_negative_prompts'`

aoleg commented 5 months ago

Could be caused by this https://github.com/adieyal/sd-dynamic-prompts/issues/752 Try updating sd-dynamic-prompts and see if it fixes it.

wkpark commented 5 months ago

Could be caused by this adieyal/sd-dynamic-prompts#752 Try updating sd-dynamic-prompts and see if it fixes it.

thank you for your information!

yes this is not a bug of uddetaier. The latest sd-dynamic-prompts extension already has fixed this bug.

so strange. I've just test uddetailer with/without sd-dynamics-prompts extension but it results same error.

same error observed with the adetailer.

I will look into it further as soon as possible.

this issue caused by https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/15460