mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-06-07 21:20:49 +00:00
fix broken samplers in XY plot
This commit is contained in:
parent
e6e8cabe0c
commit
2c52f4da7f
@ -259,6 +259,7 @@ class Script(scripts.Script):
|
||||
|
||||
# Confirm options are valid before starting
|
||||
if opt.label == "Sampler":
|
||||
samplers_dict = build_samplers_dict(p)
|
||||
for sampler_val in valslist:
|
||||
if sampler_val.lower() not in samplers_dict.keys():
|
||||
raise RuntimeError(f"Unknown sampler: {sampler_val}")
|
||||
|
Loading…
Reference in New Issue
Block a user