gokayfem / ComfyUI_VLM_nodes

Custom ComfyUI nodes for Vision Language Models, Large Language Models, Image to Music, Text to Music, Consistent and Random Creative Prompt Generation
Apache License 2.0
297 stars 23 forks source link

ChatMuscian Error #69

Closed BuffMcBigHuge closed 2 months ago

BuffMcBigHuge commented 2 months ago
  File "~\ComfyUI\custom_nodes\ComfyUI_VLM_nodes\nodes\suggest.py", line 428, in chat_musician
    abc_notation = re.findall(abc_pattern, f"{response['choices'][0]['message']['content']}\n")[0]
IndexError: list index out of range

Can't seem to get ChatMusician working. It looks like it generates but fails at the end.

Screenshot 2024-04-12 at 2 02 31 PM Screenshot 2024-04-12 at 2 03 50 PM
gokayfem commented 2 months ago

Yes this model works sometimes but halucinates most of the time. I couldnt make it work %100 everytime. Also authors of the paper confirmes this in their blog. When you get errors you should queue prompt again and again with the same prompt.

https://ezmonyi.github.io/ChatMusician/

There are a lot of examples here.