mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-04 03:10:21 +00:00
fix broken XYZ plot seeds
add new callback for scripts to be used before processing
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user