Python
reset denoising strength and masking strength for ltx 2 ic lora
DeepBeepMeep1da66e242626
diff --git a/models/ltx2/ltx2_handler.py b/models/ltx2/ltx2_handler.pyindex 52fee4e..bd09438 100644--- a/models/ltx2/ltx2_handler.py+++ b/models/ltx2/ltx2_handler.py@@ -218,6 +218,14 @@ class family_handler:if pipeline_kind != "distilled" and ui_defaults.get("guidance_phases", 0) < 2:ui_defaults["guidance_phases"] = 2+ if settings_version < 2.43:+ ui_defaults.update(+ {+ "denoising_strength": 1.0,+ "masking_strength": 0,+ }+ )+@staticmethoddef update_default_settings(base_model_type, model_def, ui_defaults):ui_defaults.update(diff --git a/wgp.py b/wgp.pyindex feff1db..37c1e09 100644--- a/wgp.py+++ b/wgp.py@@ -116,11 +116,7 @@ quant_router.unregister_handler(".fp8_quanto_bridge")for handler in _HANDLER_MODULES:quant_router.register_handler(handler)-try:- from mmgp import quanto_int8_inject- # quanto_int8_inject.init_quanto_int8_patch()-except Exception:- pass+def set_wgp_global(variable_name: str, new_value: any) -> str:if variable_name not in globals():