fix sampler defaults, facehires strength check

This commit is contained in:
Vladimir Mandic
2024-06-11 08:55:04 -04:00
parent 1fe7d922b8
commit d302ffbfa4
4 changed files with 22 additions and 5 deletions
+2
View File
@@ -137,6 +137,8 @@ class FaceRestorerYolo(FaceRestoration):
'width': resolution,
'height': resolution,
}
if args['denoising_strength'] == 0:
shared.log.debug('Face HiRes skip: strength=0')
control_pipeline = None
if getattr(p, 'is_control', False):
from modules.control import run