Bug Report
Description
The AdvancedLivePortrait node is missing the tracking_src_vid and animate_without_vid options in the UI, even though they are defined in the code.
Steps to Reproduce
- Add an AdvancedLivePortrait node to a workflow
- Check the node parameters
- Notice that
tracking_src_vid and animate_without_vid options are not visible
Expected Behavior
The node should display all 7 parameter options:
- retargeting_eyes
- retargeting_mouth
- crop_factor
- turn_on
- tracking_src_vid ← Missing
- animate_without_vid ← Missing
- command
Actual Behavior
Only 5 parameters are visible, missing the two boolean options.
Root Cause
The issue is caused by a parameter order mismatch between the INPUT_TYPES definition and the run method parameters in the AdvancedLivePortrait class.
Current (incorrect) order in run method:
def run(self, retargeting_eyes, retargeting_mouth, turn_on, tracking_src_vid, animate_without_vid, command, crop_factor, ...)
Should be (matching INPUT_TYPES):
def run(self, retargeting_eyes, retargeting_mouth, crop_factor, turn_on, tracking_src_vid, animate_without_vid, command, ...)
Additional Issues Found
- Syntax error in
NODE_CLASS_MAPPINGS: "PrintExpData:" should be "PrintExpData"
Solution
I have created a fix in my fork: https://github.com/sheepbooy/ComfyUI-AdvancedLivePortrait
Files modified:
nodes.py: Fixed parameter order and syntax error
Environment
Workaround
Use my maintained fork until this is fixed in the main repository.
Bug Report
Description
The AdvancedLivePortrait node is missing the
tracking_src_vidandanimate_without_vidoptions in the UI, even though they are defined in the code.Steps to Reproduce
tracking_src_vidandanimate_without_vidoptions are not visibleExpected Behavior
The node should display all 7 parameter options:
Actual Behavior
Only 5 parameters are visible, missing the two boolean options.
Root Cause
The issue is caused by a parameter order mismatch between the
INPUT_TYPESdefinition and therunmethod parameters in theAdvancedLivePortraitclass.Current (incorrect) order in run method:
Should be (matching INPUT_TYPES):
Additional Issues Found
NODE_CLASS_MAPPINGS:"PrintExpData:"should be"PrintExpData"Solution
I have created a fix in my fork: https://github.com/sheepbooy/ComfyUI-AdvancedLivePortrait
Files modified:
nodes.py: Fixed parameter order and syntax errorEnvironment
Workaround
Use my maintained fork until this is fixed in the main repository.