flex.2 control

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2025-04-24 13:04:50 -04:00
parent 6608b9979f
commit 06d5d498fc
5 changed files with 46 additions and 9 deletions
+2
View File
@@ -456,6 +456,8 @@ def calculate_base_steps(p, use_denoise_start, use_refiner_start):
if not is_txt2img():
if use_denoise_start and shared.sd_model_type == 'sdxl':
steps = p.steps // (1 - p.refiner_start)
elif 'Flex' in shared.sd_model.__class__.__name__:
steps = p.steps
elif shared.sd_model_type == 'omnigen':
steps = p.steps
elif p.denoising_strength > 0: