fix sd_upscale

This commit is contained in:
C43H66N12O12S2 2022-09-30 12:10:12 +03:00 committed by AUTOMATIC1111
parent cef838a6ab
commit 828d6cce72

View File

@ -34,7 +34,7 @@ class Script(scripts.Script):
seed = p.seed
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()