kijai / ComfyUI-CogVideoXWrapper

989 stars 59 forks source link

Error SyntaxError: f-string: unmatched '[' #203

Open mikheys opened 2 weeks ago

mikheys commented 2 weeks ago

Traceback (most recent call last): File "G:\ComfyUI\ComfyUI\nodes.py", line 2018, in load_custom_node module_spec.loader.exec_module(module) File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "G:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-CogVideoXWrapper__init__.py", line 2, in from .model_loading import NODE_CLASS_MAPPINGS as MODEL_CLASS, NODE_DISPLAY_NAME_MAPPINGS as MODEL_DISPLAY File "G:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-CogVideoXWrapper\model_loading.py", line 18, in from .cogvideox_fun.pipeline_cogvideox_inpaint import CogVideoX_Fun_Pipeline_Inpaint File "G:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-CogVideoXWrapper\cogvideox_fun\pipeline_cogvideox_inpaint.py", line 897 logger.info(f"Tora trajectory shape: {tora["video_flow_features"].shape}") ^^^^^^^^^^^^^^^^^^^ SyntaxError: f-string: unmatched '['

mvdberk commented 2 weeks ago

got the same error after updating the wrapper

kijai commented 2 weeks ago

Odd that it didn't error out for me... the line is indeed wrong though, fixed that. Also make sure to remake the FunSampler -node if you had it in existing workflow, or use the new examples, as that node inputs have now changed a lot.