mirror of
https://github.com/storytold/storyteller-ml.git
synced 2026-10-24 08:36:10 +00:00
comfy: normals inputs jsonpathing fix
This commit is contained in:
@@ -457,10 +457,11 @@ def get_jsonpath_mods(style_mods: Dict[str, Any],
|
|||||||
modifications["$.509.inputs.text"] = travel_in
|
modifications["$.509.inputs.text"] = travel_in
|
||||||
|
|
||||||
# TODO The 3 Mappings for depth outlines and normals apparently uses an array.
|
# TODO The 3 Mappings for depth outlines and normals apparently uses an array.
|
||||||
if depth_video_filename != None and outline_video_filename != None and normals_video_filename !=None:
|
if pipeline_type.isin([PipelineType.IPA, PipelineType.BASE]):
|
||||||
modifications["$.3731.widgets_values"][0] = depth_video_filename
|
if depth_video_filename != None and outline_video_filename != None and normals_video_filename !=None:
|
||||||
modifications["$.4120.widgets_values"][0] = normals_video_filename
|
modifications["$.3731.inputs.text"] = depth_video_filename
|
||||||
modifications["$.4122.widgets_values"][0] = outline_video_filename
|
modifications["$.4120.inputs.text"] = normals_video_filename
|
||||||
|
modifications["$.4122.inputs.text"] = outline_video_filename
|
||||||
|
|
||||||
return modifications
|
return modifications
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user