fix sd_upscale
This commit is contained in:
parent
cef838a6ab
commit
828d6cce72
|
@ -34,7 +34,7 @@ class Script(scripts.Script):
|
||||||
seed = p.seed
|
seed = p.seed
|
||||||
|
|
||||||
init_img = p.init_images[0]
|
init_img = p.init_images[0]
|
||||||
img = upscaler.upscale(init_img, init_img.width * 2, init_img.height * 2)
|
img = upscaler.scaler.upscale(init_img, 2, upscaler.data_path)
|
||||||
|
|
||||||
devices.torch_gc()
|
devices.torch_gc()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user