From 6194ea497ee1e5d2dd74e4bd16ca5e08f4c50e33 Mon Sep 17 00:00:00 2001 From: Kasisnu <5044120+kasisnu@users.noreply.github.com> Date: Sun, 7 Jul 2024 13:25:05 +0530 Subject: [PATCH] comfy: minor fix with jsonpath-ing --- workflows/comfy/ComfyLauncher/ComfyRunnerForSidecar.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/workflows/comfy/ComfyLauncher/ComfyRunnerForSidecar.py b/workflows/comfy/ComfyLauncher/ComfyRunnerForSidecar.py index 5c7e0a6..be4b5b7 100644 --- a/workflows/comfy/ComfyLauncher/ComfyRunnerForSidecar.py +++ b/workflows/comfy/ComfyLauncher/ComfyRunnerForSidecar.py @@ -161,6 +161,7 @@ def main(): travel_prompt_filename = args.travel_prompt_filename positive_prompt = None negative_prompt = None + travel_prompt = None workflow_filename = None enable_lipsync = args.lipsync_enabled disable_lcm = args.disable_lcm @@ -424,7 +425,7 @@ def get_jsonpath_mods(style_mods: Dict[str, Any], # TODO(bt,2024-07-06): Move this to the mappings so we don't have to maintain the json path if travel_in: - modifications["$.509.inputs.text"] = travel_in + modifications["$.509.inputs.text.0"] = travel_in return modifications