diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-08-13 14:31:10 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2023-08-13 14:31:10 +0000 |
commit | f093c9d39d0fe9951a8f5c570027cecc68778ef2 (patch) | |
tree | e8a76ec273f0212f6da83073593b186eb6ea4689 /modules/processing_scripts | |
parent | 3163d1269af7f9fd95382e58bb1581fd741b5119 (diff) | |
download | stable-diffusion-webui-gfx803-f093c9d39d0fe9951a8f5c570027cecc68778ef2.tar.gz stable-diffusion-webui-gfx803-f093c9d39d0fe9951a8f5c570027cecc68778ef2.tar.bz2 stable-diffusion-webui-gfx803-f093c9d39d0fe9951a8f5c570027cecc68778ef2.zip |
fix broken XYZ plot seeds
add new callback for scripts to be used before processing
Diffstat (limited to 'modules/processing_scripts')
-rw-r--r-- | modules/processing_scripts/seed.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/processing_scripts/seed.py b/modules/processing_scripts/seed.py index cc90775a..96b44dfb 100644 --- a/modules/processing_scripts/seed.py +++ b/modules/processing_scripts/seed.py @@ -58,7 +58,7 @@ class ScriptSeed(scripts.ScriptBuiltin): return self.seed, subseed, subseed_strength
- def before_process(self, p, seed, subseed, subseed_strength):
+ def setup(self, p, seed, subseed, subseed_strength):
p.seed = seed
if subseed_strength > 0:
|