mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-06 10:31:17 -08:00
fix broken XYZ plot seeds
add new callback for scripts to be used before processing
This commit is contained in:
parent
3163d1269a
commit
f093c9d39d
3 changed files with 47 additions and 4 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue