diff --git a/modules/ltx/ltx_ui.py b/modules/ltx/ltx_ui.py index de72efda1..94bd857ef 100644 --- a/modules/ltx/ltx_ui.py +++ b/modules/ltx/ltx_ui.py @@ -31,13 +31,17 @@ def _model_change(model_name: str): ) # 2.x refine runs fixed canonical schedules; refine_strength only feeds 0.9.x LTXConditionPipeline. refine_strength_interactive = caps.family == '0.9' + # Default Refine on for Dev 2.x T2V/I2V: Lightricks' production recipe is Stage 1 + 2x upsample + # + Stage 2 refine (auto_refine_upsample at ltx_process.py:179 couples the stages once Refine is on). + # Multi-condition variants are excluded for the same reason auto_refine_upsample excludes them. + refine_default = caps.supports_canonical_stage2 and not caps.supports_multi_condition return ( gr.update(visible=caps.supports_input_media), gr.update(visible=caps.supports_multi_condition), gr.update(visible=True), gr.update(visible=True), gr.update(value=False), - gr.update(value=False), + gr.update(value=refine_default), gr.update(interactive=refine_strength_interactive), gr.update(value=caps.default_cfg), gr.update(value=caps.default_steps),