mirror of
https://github.com/openvinotoolkit/stable-diffusion-webui.git
synced 2024-12-14 14:45:06 +03:00
fix sd_upscale
This commit is contained in:
parent
cef838a6ab
commit
828d6cce72
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user