mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
adjusted -U upscaling argument so that it defaults to upscaling strength 0.75 if the second argument is not given
This commit is contained in:
@@ -320,7 +320,8 @@ class T2I:
|
||||
from ldm.gfpgan.gfpgan_tools import (
|
||||
real_esrgan_upscale,
|
||||
)
|
||||
|
||||
if len(upscale) < 2:
|
||||
upscale.append(0.75)
|
||||
image = real_esrgan_upscale(
|
||||
image,
|
||||
upscale[1],
|
||||
|
||||
Reference in New Issue
Block a user