ComfyUI_Sonic ERROR: could not load kokoro-onnx in generate

#1
by screamingiraffe - opened

Problem: Attempting to use kokoroTTS in ComfyUI and Sonic_PreData stops with an error:
'NoneType' object is not subscriptable

Logs:
Initializing KokoroTextToSpeech class.
ERROR: could not load kokoro-onnx in generate: Cannot load file containing pickled data when allow_pickle=False
!!! Exception during processing !!! 'NoneType' object is not subscriptable
Traceback (most recent call last):
File "C:\Users\xxxx\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 327, 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)

Source model: kokoro-v0_19.onnx
Source location: https://huggingface.co/thewh1teagle/Kokoro/tree/main

Hi,

I have the exact same error. Did find a solution?

Your need to confirm your account before you can post a new comment.

Sign up or log in to comment