diff options
author | Jesse Williams <33797815+xram64@users.noreply.github.com> | 2022-10-08 05:30:49 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2022-10-09 09:39:18 +0000 |
commit | d74c38108f95e44d83a1706ee5ab218124972868 (patch) | |
tree | 4c126ded8ef98b75cf92cd7374ee6d4d53cf5d5d /modules/extras.py | |
parent | 6f6798ddabe10d320fe8ea05edf0fdcef0c51a8e (diff) | |
download | stable-diffusion-webui-gfx803-d74c38108f95e44d83a1706ee5ab218124972868.tar.gz stable-diffusion-webui-gfx803-d74c38108f95e44d83a1706ee5ab218124972868.tar.bz2 stable-diffusion-webui-gfx803-d74c38108f95e44d83a1706ee5ab218124972868.zip |
Confirm that options are valid before starting
When using the 'Sampler' or 'Checkpoint' options, if one of the entered
names has a typo, an error will only be thrown once the `draw_xy_grid`
loop reaches that name. This can waste a lot of time for large grids
with a typo near the end of a list, since the script needs to start over
and re-generate any earlier images to finish making the grid.
Also fixing typo in variable name in `draw_xy_grid`.
Diffstat (limited to 'modules/extras.py')
0 files changed, 0 insertions, 0 deletions