AIFSH / CosyVoice-ComfyUI

a comfyui custom node for CosyVoice
Apache License 2.0
175 stars 22 forks source link

Error occurred when executing CosyVoiceNode: #39

Open kanfengjingderen opened 3 months ago

kanfengjingderen commented 3 months ago

Hello~ Pls kindly help. Thanks

Error occurred when executing CosyVoiceNode:

'NoneType' object has no attribute 'inference_zero_shot'

File "G:\ComfyUI-aki-v1.3\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "G:\ComfyUI-aki-v1.3\execution.py", line 81, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "G:\ComfyUI-aki-v1.3\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) File "G:\ComfyUI-aki-v1.3\custom_nodes\CosyVoice-ComfyUI\nodes.py", line 157, in generate output = self.cosyvoice.inference_zero_shot(tts_text, prompt_text, prompt_speech_16k)