From a755d2a0ceacfe1cbff72694f8386b5d2b2aae80 Mon Sep 17 00:00:00 2001 From: Hawk Lee Date: Sat, 24 Jan 2026 15:30:40 +0800 Subject: [PATCH] v1.9.137: Hotfix - Restored blink logic and fixed NameError freeze --- libs/Ditto/core/atomic_components/motion_stitch.py | 7 +++++++ pyproject.toml | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/libs/Ditto/core/atomic_components/motion_stitch.py b/libs/Ditto/core/atomic_components/motion_stitch.py index 1bef7ee..6af80aa 100644 --- a/libs/Ditto/core/atomic_components/motion_stitch.py +++ b/libs/Ditto/core/atomic_components/motion_stitch.py @@ -707,6 +707,13 @@ class MotionStitch: # Restore flattened state x_d_info["exp"] = exp_reshaped.reshape(1, -1) + # [v1.9.137] Restore Blink Logic (Fix NameError) + delta_eye = 0 + if self.drive_eye and self.delta_eye_arr is not None: + delta_eye = self.delta_eye_arr[ + self.delta_eye_idx_list[self.idx % len(self.delta_eye_idx_list)] + ][None] * self.blink_amp + # [Revert v1.9.55] User reports "Original code didn't have twitch". # Switching back to Legacy Function (but with [11,13] fix applied inside it). x_d_info = _fix_exp_for_x_d_info( diff --git a/pyproject.toml b/pyproject.toml index 8de38d5..687f9c4 100755 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "aiia" description = "The Ultimate AI Audio/Video toolkit for ComfyUI. Features an enhanced Ditto (with optimizations that outperform official demos and other SOTA talking head models in lip-sync accuracy and natural motion), EchoMimic V3 & FLOAT, VibeVoice & CosyVoice 3.0 (Zero-Shot Voice Cloning), Multi-Role Podcast Generation, and a powerful Media Browser." -version = "1.9.136" +version = "1.9.137" license = {file = "LICENSE"} readme = "README.md" authors = [