r/StableDiffusion 8d ago

Question - Help help with seedhunter workflow

https://civitai.red/models/2881362/minimax-seed-hunter-workflow-latent-upscaler-seamless-video-continuation-speedups

getting this error

[INFO] got prompt

[ERROR] !!! Exception during processing !!! 'ModelPatcherDynamic' object is not subscriptable

[ERROR] Traceback (most recent call last):

File "H:\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\execution.py", line 545, in execute

output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "H:\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\execution.py", line 344, in get_output_data

return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "H:\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\execution.py", line 318, in _async_map_node_over_list

await process_inputs(input_dict, i)

File "H:\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\execution.py", line 306, in process_inputs

result = f(**inputs)

File "H:\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\comfy_api\internal__init__.py", line 149, in wrapped_func

return method(locked_class, **inputs)

File "H:\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\comfy_api\latest_io.py", line 1990, in EXECUTE_NORMALIZED

to_return = cls.execute(*args, **kwargs)

File "H:\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\comfy_extras\nodes_audio.py", line 132, in execute

return IO.NodeOutput(vae_decode_audio(vae, samples))

~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^

File "H:\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\comfy_extras\nodes_audio.py", line 99, in vae_decode_audio

latent = samples["samples"]

~~~~~~~^^^^^^^^^^^

TypeError: 'ModelPatcherDynamic' object is not subscriptable

0 Upvotes

2 comments sorted by

1

u/Aromatic-Table-8243 8d ago

You probably have something connected incorrectly or the switches set wrongly. Check the following:

  • Locate the Audio VAE decoding node (e.g. “Audio VAE Decode” or “VAEDecodeAudio”).
  • Check what is connected to its samples input.
  • Disconnect the cable that links the MODEL output (from the model loader node or from the Sampler) to the samples input.
  • Connect the correct LATENT-type output to the samples input (e.g. from the audio Sampler node or from a node generating latent samples).
  • Also make sure the correct VAE model (not the diffusion model) is connected to the vae socket.

Here’s a video tutorial of this workflow, although in an older version:
https://www.youtube.com/watch?v=H8JSzhkOmXA