diff --git a/legacy_tasks.py b/legacy_tasks.py index f33d42c..abdc3b8 100644 --- a/legacy_tasks.py +++ b/legacy_tasks.py @@ -67,12 +67,14 @@ def get_artdag_commit() -> str: sys.path.insert(0, str(EFFECTS_PATH / "dog")) # Register the dog effect with the EFFECT executor -from effect import effect_dog +# New format uses process() instead of effect_dog() +from effect import process as dog_process @register_effect("dog") def _dog_effect(input_path: Path, output_path: Path, config: dict) -> Path: """Dog effect wrapper - registered for DAG EFFECT nodes.""" - return effect_dog(input_path, output_path, config) + # Wrap for new whole-video API + return dog_process([input_path], output_path, config, None) def file_hash(path: Path) -> str: