ITADN

Chat Musician Node

#149OpenKozatiju 创建于 2025-05-09
K
Kozatijucommented
Hi ! I'm trying to make Chat Musician ( 4_K_M GGUF ) work with different kind of prompts ( even following the one in the given example on the main github page ) and no luck, each time I have this issue : **IndexError: list index out of range** ---------------------------------------------------------------------------------------- got prompt Llama.generate: 32 prefix-match hit, remaining 71 prompt tokens to eval llama_perf_context_print: load time = 8193.59 ms llama_perf_context_print: prompt eval time = 1312.71 ms / 71 tokens ( 18.49 ms per token, 54.09 tokens per second) llama_perf_context_print: eval time = 6800.13 ms / 49 runs ( 138.78 ms per token, 7.21 tokens per second) llama_perf_context_print: total time = 8125.57 ms / 120 tokens !!! Exception during processing !!! list index out of range Traceback (most recent call last): File "C:\ComfyUI\execution.py", line 347, in execute output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\execution.py", line 222, in get_output_data return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\execution.py", line 194, in _map_node_over_list process_inputs(input_dict, i) File "C:\ComfyUI\execution.py", line 183, in process_inputs results.append(getattr(obj, func)(**inputs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\custom_nodes\comfyui_vlm_nodes\nodes\suggest.py", line 429, in chat_musician abc_notation = re.findall(abc_pattern, f"{response['choices'][0]['message']['content']}\n")[0] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^ IndexError: list index out of range ------------------------------------------------------------------------------- Would anyone have any clue what's wrong here ? It seems to be related to ABC values not being matched properly in the abc_notation but I'm not really sure on how to correct this.
0 条评论