AIFSH / ComfyUI-MuseTalk_FSH

the comfyui custom node of MuseTalk to make audio driven videos!
Other
17 stars 5 forks source link

Please advise on how to solve the error prompt #10

Open oooobird2023 opened 2 months ago

oooobird2023 commented 2 months ago

Error occurred when executing MuseTalk:

expected str, bytes or os.PathLike object, not dict

File "F:\ComfyUI2\ComfyUI\execution.py", line 152, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\ComfyUI2\ComfyUI\execution.py", line 82, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\ComfyUI2\ComfyUI\custom_nodes\deforum-comfy-nodes\deforum_nodes\exec_hijack.py", line 55, in map_node_over_list return orig_exec(obj, input_data_all, func, allow_interrupt) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\ComfyUI2\ComfyUI\custom_nodes\ComfyUI-0246\utils.py", line 381, in new_func res_value = old_func(*final_args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\ComfyUI2\ComfyUI\execution.py", line 75, in map_node_over_list results.append(getattr(obj, func)(slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\ComfyUI2\ComfyUI\custom_nodes\ComfyUI-MuseTalk_FSH\nodes.py", line 87, in process output_vid_name = muse_talk(video, audio) ^^^^^^^^^^^^^^^^^^^^^^^ File "F:\ComfyUI2\ComfyUI\custom_nodes\ComfyUI-MuseTalk_FSH\inference.py", line 44, in call audio_basename = os.path.basename(audio_path).split('.')[0] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 244, in basename File "", line 213, in split