ComfyUI_Jags_Audiotools icon indicating copy to clipboard operation
ComfyUI_Jags_Audiotools copied to clipboard

AttributeError: 'dict' object has no attribute 'size' [JoinAudio Crash]

Open phr00t opened this issue 1 year ago • 0 comments

!!! Exception during processing !!! 'dict' object has no attribute 'size'
Traceback (most recent call last):
  File "D:\ComfyUI_windows_portable\ComfyUI\execution.py", line 317, 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 "D:\ComfyUI_windows_portable\ComfyUI\execution.py", line 192, 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 "D:\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)
  File "D:\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_Jags_Audiotools\AudioManipulation.py", line 48, in join_audio
    joined_length = audio_1.size(2) + audio_2.size(2) + gap
                    ^^^^^^^^^^^^
AttributeError: 'dict' object has no attribute 'size'

image

I'm trying to combine text-to-speech audio with FoleyCrafter audio with the "JoinAudio" node.

phr00t avatar Aug 31 '24 17:08 phr00t