add flux.1-kontext-dev

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2025-06-26 17:09:53 -04:00
parent d6a8d2b173
commit 1147f9ec56
7 changed files with 40 additions and 31 deletions
+1 -3
View File
@@ -466,9 +466,7 @@ def calculate_base_steps(p, use_denoise_start, use_refiner_start):
cls = shared.sd_model.__class__.__name__
if cls in sd_models.i2i_pipes:
steps = p.steps
elif 'Flex' in cls:
steps = p.steps
elif 'HiDreamImageEditingPipeline' in cls:
elif 'Flex' in cls or 'HiDreamImageEditingPipeline' in cls or 'Kontext' in cls:
steps = p.steps
elif use_denoise_start and (shared.sd_model_type == 'sdxl'):
steps = p.steps // (1 - p.refiner_start)