Fix dog effect import for new single-file format
Dog effect now uses process() instead of effect_dog(). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -67,12 +67,14 @@ def get_artdag_commit() -> str:
|
|||||||
sys.path.insert(0, str(EFFECTS_PATH / "dog"))
|
sys.path.insert(0, str(EFFECTS_PATH / "dog"))
|
||||||
|
|
||||||
# Register the dog effect with the EFFECT executor
|
# 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")
|
@register_effect("dog")
|
||||||
def _dog_effect(input_path: Path, output_path: Path, config: dict) -> Path:
|
def _dog_effect(input_path: Path, output_path: Path, config: dict) -> Path:
|
||||||
"""Dog effect wrapper - registered for DAG EFFECT nodes."""
|
"""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:
|
def file_hash(path: Path) -> str:
|
||||||
|
|||||||
Reference in New Issue
Block a user