This commit is contained in:
lllyasviel
2024-01-27 20:04:10 -08:00
parent 924a80ac01
commit 60bd01e378
7 changed files with 15 additions and 12 deletions

View File

@@ -24,7 +24,7 @@ class HyperTileForForge(scripts.Script):
return enabled, tile_size, swap_size, max_depth, scale_depth
def process_batch(self, p, *script_args, **kwargs):
def process_before_every_sampling(self, p, *script_args, **kwargs):
enabled, tile_size, swap_size, max_depth, scale_depth = script_args
tile_size, swap_size, max_depth = int(tile_size), int(swap_size), int(max_depth)