better api defaults

This commit is contained in:
Vladimir Mandic
2024-08-28 10:58:54 -04:00
parent 65c137abf1
commit bb7f84b99b
3 changed files with 8 additions and 4 deletions
+1
View File
@@ -140,6 +140,7 @@ class FaceRestorerYolo(FaceRestoration):
}
if args['denoising_strength'] == 0:
shared.log.debug('Face HiRes skip: strength=0')
return np_image
control_pipeline = None
orig_class = shared.sd_model.__class__
if getattr(p, 'is_control', False):