Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

error occur with stable diffusion latest update #47

Open
lilcdj opened this issue Sep 3, 2023 · 7 comments
Open

error occur with stable diffusion latest update #47

lilcdj opened this issue Sep 3, 2023 · 7 comments

Comments

@lilcdj
Copy link

lilcdj commented Sep 3, 2023

Hi. I can't save preset because I get error whenever I save new preset.

@rkolbaskin
Copy link

As a dirty fix - open extensions/sd_web_ui_preset_utils/scripts/zpreset_utils.py and comment out lines 529 and 530:

529                    elif k == "Sampling method":
530                        return_dict.update({k: modules.sd_samplers.samplers[new_setting[i]].name if self.is_txt2img else  modules.sd_samplers.samplers_for_img2img[new_setting[i]].name})

@merecesarchviz
Copy link

i have the same issue!

I comment the lines 529 and 530 but still give errors and dont save it!

@rkolbaskin
Copy link

@merecesarchviz You did restart SD, right?
Could you attach traceback?

@merecesarchviz
Copy link

@merecesarchviz You did restart SD, right? Could you attach traceback?

yes i restart it, here is the errors now after comment that 2 lines:

image

@rkolbaskin
Copy link

@merecesarchviz it looks like you are using a different save button (I only used the one in "Quick" tab). Try to also comment out 578 and 579. They have basically the same code in there.

@merecesarchviz
Copy link

yes it was that, that for the tips!

@cnsit
Copy link

cnsit commented Jan 11, 2024

For those are troubled by this issue, a quick work around before the fix: comment out line 529, 530, 578, 579 in the file "extensions/sd_web_ui_preset_utils/scripts/zpreset_utils.py", and then restart your SD-UI.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants