mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui
synced 2025-01-07 07:46:58 +08:00
SwinIR: pass model.scale
This commit is contained in:
parent
dfdc51246c
commit
3d31d5c27b
@ -51,7 +51,7 @@ class UpscalerSwinIR(Upscaler):
|
||||
model,
|
||||
tile_size=shared.opts.SWIN_tile,
|
||||
tile_overlap=shared.opts.SWIN_tile_overlap,
|
||||
scale=4, # TODO: This was hard-coded before too...
|
||||
scale=model.scale,
|
||||
desc="SwinIR",
|
||||
)
|
||||
devices.torch_gc()
|
||||
|
Loading…
Reference in New Issue
Block a user