mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-05 03:32:37 +00:00
remove double basicr requirement
add seed change for anon
This commit is contained in:
@@ -108,7 +108,7 @@ class Script(scripts.Script):
|
||||
return [x_type, x_values, y_type, y_values]
|
||||
|
||||
def run(self, p, x_type, x_values, y_type, y_values):
|
||||
p.seed = int(random.randrange(4294967294) if p.seed == -1 else p.seed)
|
||||
p.seed = modules.processing.set_seed(p.seed)
|
||||
p.batch_size = 1
|
||||
p.batch_count = 1
|
||||
|
||||
|
Reference in New Issue
Block a user