Commit 828d6cce authored by C43H66N12O12S2's avatar C43H66N12O12S2 Committed by AUTOMATIC1111

fix sd_upscale

parent cef838a6
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment